1(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[43],{"0bX0":function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r("Z5oE"),i=r("VBdi"),o=r("rtUr"),a=r("FQxg"),s=r("vM4E"),c=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function u(e,t){var r,u=Object(i.useRef)(),l=Object(i.useRef)(),f=Object(i.useRef)(),p=u.current?Object(o.a)(t,u.current):t,d=null!==(r=null===p||void 0===p?void 0:p.query)&&void 0!==r?r:e;l.current=p,f.current=d;var h=Object(a.a)(Object(s.a)(t&&t.client),d),v=h.useQuery(Object(n.a)(Object(n.a)({},p),{skip:!u.current})),y=v.observable.options.initialFetchPolicy||h.getDefaultFetchPolicy(),b=Object.assign(v,{called:!!u.current}),m=Object(i.useMemo)((function(){for(var e={},t=function(t){var r=b[t];e[t]=function(){return u.current||(u.current=Object.create(null),h.forceUpdate()),r.apply(this,arguments)}},r=0,n=c;r<n.length;r++){t(n[r])}return e}),[]);return Object.assign(b,m),[Object(i.useCallback)((function(e){u.current=e?Object(n.a)(Object(n.a)({},e),{fetchPolicy:e.fetchPolicy||y}):{fetchPolicy:y};var t=Object(o.a)(l.current,Object(n.a)({query:f.current},u.current)),r=h.executeQuery(Object(n.a)(Object(n.a)({},t),{skip:!1})).then((function(e){return Object.assign(e,m)}));return r.catch((function(){})),r}),[]),b]}},"0nBV":function(e,t,r){"use strict";function n(e){try{return e()}catch(t){}}r.d(t,"a",(function(){return n}))},"3DGq":function(e,t,r){(function(e){(function(t){"use strict";function r(e){return this instanceof r?(this.v=e,this):new r(e)}function n(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,o=n.apply(e,t||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(e){o[e]&&(i[e]=function(t){return new Promise((function(r,n){a.push([e,t,r,n])>1||c(e,t)}))})}function c(e,t){try{(n=o[e](t)).value instanceof r?Promise.resolve(n.value.v).then(u,l):f(a[0][2],n)}catch(i){f(a[0][3],i)}var n}function u(e){c("next",e)}function l(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function i(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function o(e){return"object"===i(e)}function a(e,t){return e.length<124?e:t}var s,c;function u(e){if(!o(e))throw new Error("Message is expected to be an object, but got "+i(e));if(!e.type)throw new Error("Message is missing the 'type' property");if("string"!==typeof e.type)throw new Error("Message is expects the 'type' property to be a string, but got "+i(e.type));switch(e.type){case t.MessageType.ConnectionInit:case t.MessageType.ConnectionAck:case t.MessageType.Ping:case t.MessageType.Pong:if(null!=e.payload&&!o(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object or nullish or missing, but got "${e.payload}"`);break;case t.MessageType.Subscribe:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(!o(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${i(e.payload)}`);if("string"!==typeof e.payload.query)throw new Error(`"${e.type}" message payload expects the 'query' property to be a string, but got ${i(e.payload.query)}`);if(null!=e.payload.variables&&!o(e.payload.variables))throw new Error(`"${e.type}" message payload expects the 'variables' property to be a an object or nullish or missing, but got ${i(e.payload.variables)}`);if(null!=e.payload.operationName&&"string"!==i(e.payload.operationName))throw new Error(`"${e.type}" message payload expects the 'operationName' property to be a string or nullish or missing, but got ${i(e.payload.operationName)}`);if(null!=e.payload.extensions&&!o(e.payload.extensions))throw new Error(`"${e.type}" message payload expects the 'extensions' property to be a an object or nullish or missing, but got ${i(e.payload.extensions)}`);break;case t.MessageType.Next:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);
1if(!o(e.payload))throw new Error(`"${e.type}" message expects the 'payload' property to be an object, but got ${i(e.payload)}`);break;case t.MessageType.Error:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);if(r=e.payload,!(Array.isArray(r)&&r.length>0&&r.every(e=>"message"in e)))throw new Error(`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(e.payload)}`);break;case t.MessageType.Complete:if("string"!==typeof e.id)throw new Error(`"${e.type}" message expects the 'id' property to be a string, but got ${i(e.id)}`);if(!e.id)throw new Error(`"${e.type}" message requires a non-empty 'id' property`);break;default:throw new Error(`Invalid message 'type' property "${e.type}"`)}var r;return e}function l(e,t){return u("string"===typeof e?JSON.parse(e,t):e)}function f(e,t){return u(e),JSON.stringify(e,t)}function p(e){return o(e)&&"code"in e&&"reason"in e}t.CloseCode=void 0,(s=t.CloseCode||(t.CloseCode={}))[s.InternalServerError=4500]="InternalServerError",s[s.InternalClientError=4005]="InternalClientError",s[s.BadRequest=4400]="BadRequest",s[s.BadResponse=4004]="BadResponse",s[s.Unauthorized=4401]="Unauthorized",s[s.Forbidden=4403]="Forbidden",s[s.SubprotocolNotAcceptable=4406]="SubprotocolNotAcceptable",s[s.ConnectionInitialisationTimeout=4408]="ConnectionInitialisationTimeout",s[s.ConnectionAcknowledgementTimeout=4504]="ConnectionAcknowledgementTimeout",s[s.SubscriberAlreadyExists=4409]="SubscriberAlreadyExists",s[s.TooManyInitialisationRequests=4429]="TooManyInitialisationRequests",t.MessageType=void 0,(c=t.MessageType||(t.MessageType={})).ConnectionInit="connection_init",c.ConnectionAck="connection_ack",c.Ping="ping",c.Pong="pong",c.Subscribe="subscribe",c.Next="next",c.Error="error",c.Complete="complete",t.DEPRECATED_GRAPHQL_WS_PROTOCOL="graphql-ws",t.GRAPHQL_TRANSPORT_WS_PROTOCOL="graphql-transport-ws",t.createClient=function(i){const{url:o,connectionParams:s,lazy:c=!0,onNonLazyError:u=console.error,lazyCloseTimeout:d=0,keepAlive:h=0,disablePong:v,connectionAckWaitTimeout:y=0,retryAttempts:b=5,retryWait:m=async function(e){let t=1e3;for(let r=0;r<e;r++)t*=2;await new Promise(e=>setTimeout(e,t+Math.floor(2700*Math.random()+300)))},shouldRetry:g=p,isFatalConnectionProblem:O,on:j,webSocketImpl:w,generateID:_=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})},jsonMessageReplacer:E,jsonMessageReviver:S}=i;let k;if(w){if(!("function"===typeof(D=w)&&"constructor"in D&&"CLOSED"in D&&"CLOSING"in D&&"CONNECTING"in D&&"OPEN"in D))throw new Error("Invalid WebSocket implementation provided");k=w}else"undefined"!==typeof WebSocket?k=WebSocket:"undefined"!==typeof e?k=e.WebSocket||e.MozWebSocket:"undefined"!==typeof window&&(k=window.WebSocket||window.MozWebSocket);var D;if(!k)throw new Error("WebSocket implementation missing; on Node you can `import WebSocket from 'ws';` and pass `webSocketImpl: WebSocket` to `createClient`");const I=k,T=(()=>{const e=(()=>{const e={};return{on:(t,r)=>(e[t]=r,()=>{delete e[t]}),emit(t){var r;"id"in t&&(null===(r=e[t.id])||void 0===r||r.call(e,t))}}})(),t={connecting:(null===j||void 0===j?void 0:j.connecting)?[j.connecting]:[],opened:(null===j||void 0===j?void 0:j.opened)?[j.opened]:[],connected:(null===j||void 0===j?void 0:j.connected)?[j.connected]:[],ping:(null===j||void 0===j?void 0:j.ping)?[j.ping]:[],pong:(null===j||void 0===j?void 0:j.pong)?[j.pong]:[],message:(null===j||void 0===j?void 0:j.message)?[e.emit,j.message]:[e.emit],closed:(null===j||void 0===j?void 0:j.closed)?[j.closed]:[],error:(null===j||void 0===j?void 0:j.error)?[j.error]:[]};return{onMessage:e.on,on(e,r){const n=t[e];return n.push(r),()=>{n.splice(n.indexOf(r),1)}},emit(e,...r){for(const n of[...t[e]])n(...r)}}})();function x(e){const t=[T.on("error",r=>{t.forEach(e=>e()),e(r)}),T.on("closed",r=>{t.forEach(e=>e()),e(r)})]}let R,P,q=0,C=!1,N=0,F=!1;async function M(){clearTimeout(P);const[e,r]=await(null!==R&&void 0!==R?R:R=new Promise((e,r)=>(async()=>
1{if(C){if(await m(N),!q)return R=void 0,r({code:1e3,reason:"All Subscriptions Gone"});N++}T.emit("connecting");const n=new I("function"===typeof o?await o():o,"graphql-transport-ws");let i,c;function u(){isFinite(h)&&h>0&&(clearTimeout(c),c=setTimeout(()=>{n.readyState===I.OPEN&&(n.send(f({type:t.MessageType.Ping})),T.emit("ping",!1,void 0))},h))}x(e=>{R=void 0,clearTimeout(i),clearTimeout(c),r(e),p(e)&&4499===e.code&&(n.close(4499,"Terminated"),n.onerror=null,n.onclose=null)}),n.onerror=e=>T.emit("error",e),n.onclose=e=>T.emit("closed",e),n.onopen=async()=>{try{T.emit("opened",n);const e="function"===typeof s?await s():s;if(n.readyState!==I.OPEN)return;n.send(f(e?{type:t.MessageType.ConnectionInit,payload:e}:{type:t.MessageType.ConnectionInit},E)),isFinite(y)&&y>0&&(i=setTimeout(()=>{n.close(t.CloseCode.ConnectionAcknowledgementTimeout,"Connection acknowledgement timeout")},y)),u()}catch(e){T.emit("error",e),n.close(t.CloseCode.InternalClientError,a(e instanceof Error?e.message:new Error(e).message,"Internal client error"))}};let d=!1;n.onmessage=({data:r})=>{try{const o=l(r,S);if(T.emit("message",o),"ping"===o.type||"pong"===o.type)return T.emit(o.type,!0,o.payload),void("pong"===o.type?u():v||(n.send(f(o.payload?{type:t.MessageType.Pong,payload:o.payload}:{type:t.MessageType.Pong})),T.emit("pong",!1,o.payload)));if(d)return;if(o.type!==t.MessageType.ConnectionAck)throw new Error("First message cannot be of type "+o.type);clearTimeout(i),d=!0,T.emit("connected",n,o.payload),C=!1,N=0,e([n,new Promise((e,t)=>x(t))])}catch(o){n.onmessage=null,T.emit("error",o),n.close(t.CloseCode.BadResponse,a(o instanceof Error?o.message:new Error(o).message,"Bad response"))}}})()));e.readyState===I.CLOSING&&await r;let n=()=>{};const i=new Promise(e=>n=e);return[e,n,Promise.race([i.then(()=>{if(!q){const t=()=>e.close(1e3,"Normal Closure");isFinite(d)&&d>0?P=setTimeout(()=>{e.readyState===I.OPEN&&t()},d):t()}}),r])]}function Q(e){if(p(e)&&(r=e.code,![1e3,1001,1006,1005,1012,1013,1013].includes(r)&&r>=1e3&&r<=1999||[t.CloseCode.InternalServerError,t.CloseCode.InternalClientError,t.CloseCode.BadRequest,t.CloseCode.BadResponse,t.CloseCode.Unauthorized,t.CloseCode.SubprotocolNotAcceptable,t.CloseCode.SubscriberAlreadyExists,t.CloseCode.TooManyInitialisationRequests].includes(e.code)))throw e;var r;if(F)return!1;if(p(e)&&1e3===e.code)return q>0;if(!b||N>=b)throw e;if(!g(e))throw e;if(null===O||void 0===O?void 0:O(e))throw e;return C=!0}return c||(async()=>{for(q++;;)try{const[,,e]=await M();await e}catch(e){try{if(!Q(e))return}catch(e){return null===u||void 0===u?void 0:u(e)}}})(),{on:T.on,subscribe(e,r){const n=_(e);let i=!1,o=!1,a=()=>{q--,i=!0};return(async()=>{for(q++;;)try{const[s,c,u]=await M();if(i)return c();const l=T.onMessage(n,e=>{switch(e.type){case t.MessageType.Next:return void r.next(e.payload);case t.MessageType.Error:return o=!0,i=!0,r.error(e.payload),void a();case t.MessageType.Complete:return i=!0,void a()}});return s.send(f({id:n,type:t.MessageType.Subscribe,payload:e},E)),a=()=>{i||s.readyState!==I.OPEN||s.send(f({id:n,type:t.MessageType.Complete},E)),q--,i=!0,c()},void await u.finally(l)}catch(s){if(!Q(s))return}})().then(()=>{o||r.complete()}).catch(e=>{r.error(e)}),()=>{i||a()}},iterate(e){const t=[],i={done:!1,error:null,resolve:()=>{}},o=this.subscribe(e,{next(e){t.push(e),i.resolve()},error(e){i.done=!0,i.error=e,i.resolve()},complete(){i.done=!0,i.resolve()}}),a=function(){return n(this,arguments,(function*(){for(;;){for(t.length||(yield r(new Promise(e=>i.resolve=e)));t.length;)yield yield r(t.shift());if(i.error)throw i.error;if(i.done)return yield r(void 0)}}))}();return a.throw=async e=>(i.done||(i.done=!0,i.error=e,i.resolve()),{done:!0,value:void 0}),a.return=async()=>(o(),{done:!0,value:void 0}),a},async dispose(){if(F=!0,R){const[e]=await R;e.close(1e3,"Normal Closure")}},terminate(){R&&T.emit("closed",{code:4499,reason:"Terminated",wasClean:!1})}}},t.isMessage=function(e){try{return u(e),!0}catch(t){return!1}},t.parseMessage=l,t.stringifyMessage=f,t.validateMessage=u})(t)}).call(this,r("Uwcf"))},"5XxD":function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));var n=r("KGRH").a.split},"5cNn":function(e,t,r){"use strict";r.d(t,"a",(function(){return l}));var n=r("Z5oE"),i=r("VBdi"),o=r("rtUr"),a=r("Hivj"),s=r("tvoZ"),c=r("RJNl"),u=r("vM4E");function l(e,t){var r=Object(u.a)(null===t||void 0===t?void 0:t.client);Object(s.b)(e,s.a.Mutation);var l=Object(i.useState)({called:!1,loading:!1,client:r}),f=l[0],p=l[1],d=Object(i.useRef)({result:f,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});Object.assign(d.current,{client:r,options:t,mutation:e});var h=Object(i.useCallback)((function(e){void 0===e&&(e={});var t=d.current,r=t.options,i=t.mutation,s=Object(n.a)(Object(n.a)({},r),{mutation:i}),u=e.client||d.current.client;d.current.result.loading||s.ignoreResults||!d.current.isMounted||p(d.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:u});var l=++d.current.mutationId,f=Object(o.a)(s,e);return u.mutate(f).then((function(t){var r,n=t.data,i=t.errors,o=i&&i.length>0?new c.a({graphQLErrors:i}):void 0;if(l===d.current.mutationId&&!f.ignoreResults){var s={called:!0,loading:!1,data:n,error:o,client:u};d.current.isMounted&&!Object(a.a)(d.current.result,s)&&p(d.current.result=s)}var h=e.onCompleted||(null===(r=d.current.options)||void 0===r?void 0:r.onCompleted);return null===h||void 0===h||h(t.data,f),t})).catch((function(t){var r;if(l===d.current.mutationId&&d.current.isMounted){var n={loading:!1,error:t,data:void 0,called:!0,client:u};Object(a.a)(d.current.result,n)||p(d.current.result=n)}var i=e.onError||(null===(r=d.current.options)||void 0===r?void 0:r.onError);if(i)return i(t,f),{data:void 0,errors:t};throw t}))}),[]),v=Object(i.useCallback)((function(){d.current.isMounted&&p({called:!1,loading:!1,client:r})}),[]);return Object(i.useEffect)((function(){return d.current.isMounted=!0,function(){d.current.isMounted=!1}}),[]),[h,Object(n.a)({reset:v},f)]}},BNwI:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i}));var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},FQxg:function(e,t,r){"use strict";var n=r("Z5oE"),i=r("gaSd"),o=r("VBdi"),a=r("Risr"),s=!1,c=o.use
1SyncExternalStore||function(e,t,r){var n=t();__DEV__&&!s&&n!==t()&&(s=!0,__DEV__&&i.b.error("The result of getSnapshot should be cached to avoid an infinite loop"));var c=o.useState({inst:{value:n,getSnapshot:t}}),l=c[0].inst,f=c[1];return a.b?o.useLayoutEffect((function(){Object.assign(l,{value:n,getSnapshot:t}),u(l)&&f({inst:l})}),[e,n,t]):Object.assign(l,{value:n,getSnapshot:t}),o.useEffect((function(){return u(l)&&f({inst:l}),e((function(){u(l)&&f({inst:l})}))}),[e]),n};function u(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(n){return!0}}var l=r("Hivj"),f=r("rtUr"),p=r("cm/O"),d=r("RJNl"),h=r("fuaB"),v=r("tvoZ"),y=r("vM4E"),b=r("X8ds"),m=r("RsOj"),g=r("BNwI");r.d(t,"b",(function(){return j})),r.d(t,"a",(function(){return w}));var O=Object.prototype.hasOwnProperty;function j(e,t){return void 0===t&&(t=Object.create(null)),w(Object(y.a)(t.client),e).useQuery(t)}function w(e,t){var r=Object(o.useRef)();r.current&&e===r.current.client&&t===r.current.query||(r.current=new _(e,t,r.current));var n=r.current,i=Object(o.useState)(0),a=(i[0],i[1]);return n.forceUpdate=function(){a((function(e){return e+1}))},n}var _=function(){function e(e,t,r){this.client=e,this.query=t,this.ssrDisabledResult=Object(b.a)({loading:!0,data:void 0,error:void 0,networkStatus:h.a.loading}),this.skipStandbyResult=Object(b.a)({loading:!1,data:void 0,error:void 0,networkStatus:h.a.ready}),this.toQueryResultCache=new(a.d?WeakMap:Map),Object(v.b)(t,v.a.Query);var n=r&&r.result,i=n&&n.data;i&&(this.previousData=i)}return e.prototype.forceUpdate=function(){__DEV__&&i.b.warn("Calling default no-op implementation of InternalState#forceUpdate")},e.prototype.executeQuery=function(e){var t,r=this;e.query&&Object.assign(this,{query:e.query}),this.watchQueryOptions=this.createWatchQueryOptions(this.queryHookOptions=e);var n=this.observable.reobserveAsConcast(this.getObsQueryOptions());return this.previousData=(null===(t=this.result)||void 0===t?void 0:t.data)||this.previousData,this.result=void 0,this.forceUpdate(),new Promise((function(e){var t;n.subscribe({next:function(e){t=e},error:function(){e(r.toQueryResult(r.observable.getCurrentResult()))},complete:function(){e(r.toQueryResult(t))}})}))},e.prototype.useQuery=function(e){var t=this;this.renderPromises=Object(o.useContext)(Object(p.a)()).renderPromises,this.useOptions(e);var r=this.useObservableQuery(),n=c(Object(o.useCallback)((function(){if(t.renderPromises)return function(){};var e=function(){var e=t.result,n=r.getCurrentResult();e&&e.loading===n.loading&&e.networkStatus===n.networkStatus&&Object(l.a)(e.data,n.data)||t.setResult(n)},n=function(o){var a=r.last;i.unsubscribe();try{r.resetLastResults(),i=r.subscribe(e,n)}finally{r.last=a}if(!O.call(o,"graphQLErrors"))throw o;var s=t.result;(!s||s&&s.loading||!Object(l.a)(o,s.error))&&t.setResult({data:s&&s.data,error:o,loading:!1,networkStatus:h.a.error})},i=r.subscribe(e,n);return function(){return setTimeout((function(){return i.unsubscribe()}))}}),[r,this.renderPromises,this.client.disableNetworkFetches]),(function(){return t.getCurrentResult()}),(function(){return t.getCurrentResult()}));return this.unsafeHandlePartialRefetch(n),this.toQueryResult(n)},e.prototype.useOptions=function(t){var r,n=this.createWatchQueryOptions(this.queryHookOptions=t),i=this.watchQueryOptions;Object(l.a)(n,i)||(this.watchQueryOptions=n,i&&this.observable&&(this.observable.reobserve(this.getObsQueryOptions()),this.previousData=(null===(r=this.result)||void 0===r?void 0:r.data)||this.previousData,this.result=void 0)),this.onCompleted=t.onCompleted||e.prototype.onCompleted,this.onError=t.onError||e.prototype.onError,!this.renderPromises&&!this.client.disableNetworkFetches||!1!==this.queryHookOptions.ssr||this.queryHookOptions.skip?this.queryHookOptions.skip||"standby"===this.watchQueryOptions.fetchPolicy?this.result=this.skipStandbyResult:this.result!==this.ssrDisabledResult&&this.result!==this.skipStandbyResult||(this.result=void 0):this.result=this.ssrDisabledResult},e.prototype.getObsQueryOptions=function(){var e=[],t=this.client.defaultOptions.watchQuery;return t&&e.push(t),this.queryHookOptions.defaultOptions&&e.push(this.queryHookOptions.defaultOptions),e.push(Object(m.a)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(f.a)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var r=e.skip,i=(e.ssr,e.onCompleted,e.onError,e.defaultOptions,Object(n.e)(e,["skip","ssr","onCompleted","onError","defaultOptions"])),o=Object.assign(i,{query:this.query});if(!this.renderPromises||"network-only"!==o.fetchPolicy&&"cache-and-network"!==o.fetchPolicy||(o.fetchPolicy="cache-first"),o.variables||(o.variables={}),r){var a=o.fetchPolicy,s=void 0===a?this.getDefaultFetchPolicy():a,c=o.initialFetchPolicy,u=void 0===c?s:c;Object.assign(o,{initialFetchPolicy:u,fetchPolicy:"standby"})}else o.fetchPolicy||(o.fetchPolicy=(null===(t=this.observable)||void 0===t?void 0:t.options.initialFetchPolicy)||this.getDefaultFetchPolicy());return o},e.prototype.getDefaultFetchPolicy=function(){var e,t;return(null===(e=this.queryHookOptions.defaultOptions)||void 0===e?void 0:e.fetchPolicy)||(null===(t=this.client.defaultOptions.watchQuery)||void 0===t?void 0:t.fetchPolicy)||"cac
1he-first"},e.prototype.onCompleted=function(e){},e.prototype.onError=function(e){},e.prototype.useObservableQuery=function(){var e=this.observable=this.renderPromises&&this.renderPromises.getSSRObservable(this.watchQueryOptions)||this.observable||this.client.watchQuery(this.getObsQueryOptions());this.obsQueryFields=Object(o.useMemo)((function(){return{refetch:e.refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}),[e]);var t=!(!1===this.queryHookOptions.ssr||this.queryHookOptions.skip);return this.renderPromises&&t&&(this.renderPromises.registerSSRObservable(e),e.getCurrentResult().loading&&this.renderPromises.addObservableQueryPromise(e)),e},e.prototype.setResult=function(e){var t=this.result;t&&t.data&&(this.previousData=t.data),this.result=e,this.forceUpdate(),this.handleErrorOrCompleted(e)},e.prototype.handleErrorOrCompleted=function(e){var t=this;if(!e.loading){var r=this.toApolloError(e);Promise.resolve().then((function(){r?t.onError(r):e.data&&t.onCompleted(e.data)})).catch((function(e){__DEV__&&i.b.warn(e)}))}},e.prototype.toApolloError=function(e){return Object(g.b)(e.errors)?new d.a({graphQLErrors:e.errors}):e.error},e.prototype.getCurrentResult=function(){return this.result||this.handleErrorOrCompleted(this.result=this.observable.getCurrentResult()),this.result},e.prototype.toQueryResult=function(e){var t=this.toQueryResultCache.get(e);if(t)return t;var r=e.data,i=(e.partial,Object(n.e)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=Object(n.a)(Object(n.a)(Object(n.a)({data:r},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&Object(g.b)(e.errors)&&(t.error=new d.a({graphQLErrors:e.errors})),t},e.prototype.unsafeHandlePartialRefetch=function(e){!e.partial||!this.queryHookOptions.partialRefetch||e.loading||e.data&&0!==Object.keys(e.data).length||"cache-only"===this.observable.options.fetchPolicy||(Object.assign(e,{loading:!0,networkStatus:h.a.refetch}),this.observable.refetch())},e}()},GVFn:function(e,t,r){"use strict";r.d(t,"a",(function(){return i})),r.d(t,"b",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"c",(function(){return u}));var n=r("FgM6"),i=new(r("u+gM").a),o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:Object(n.a)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function c(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(n),l(e)}));var c=Array.from(r);r.clear(),c.forEach((function(t){return t(e)}))}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}function l(e){e.broadcastWatches&&e.broadcastWatches()}},HrIi:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("wEys");function i(e){return(i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r=[].concat(t,[e]),i=function(e){var t=e[String(n.a)];if("function"===typeof t)return t;if("function"===typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return"string"===typeof o?o:a(o,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,i=[],o=0;o<r;++o)i.push(a(e[o],t));1===n?i.push("... 1 more item"):n>1&&i.push("... ".concat(n," more items"));return"["+i.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var r=e.constructor.name;if("string"===typeof r&&""!==r)return r}return t}(e)+"]";return"{ "+r.map((function(r){return r+": "+a(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},Jlnj:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return u}));var n=r("Z5oE"),i=r("gILc"),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]||{},r=e.length;if(r>1)for(var n=new u,i=1;i<r;++i)t=n.merge(t,e[i]);return t}
1var c=function(e,t,r){return this.merge(e[r],t[r])},u=function(){function e(e){void 0===e&&(e=c),this.reconciler=e,this.isObject=i.a,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return Object(i.a)(t)&&Object(i.a)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var c=r.reconciler.apply(r,Object(n.f)([e,t,i],a,!1));c!==s&&((e=r.shallowCopyForMerge(e))[i]=c)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return Object(i.a)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):Object(n.a)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},KGRH:function(e,t,r){"use strict";var n=r("Z5oE"),i=r("gaSd"),o=r("Y2lC");var a=r("sDPB");function s(e,t){return t?t(e):o.a.of()}function c(e){return"function"===typeof e?new f(e):e}function u(e){return e.request.length<=1}r.d(t,"a",(function(){return f}));var l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}return Object(n.c)(t,e),t}(Error),f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return o.a.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var i=c(r),a=c(n||new e(s));return u(i)&&u(a)?new e((function(e){return t(e)?i.request(e)||o.a.of():a.request(e)||o.a.of()})):new e((function(e,r){return t(e)?i.request(e,r)||o.a.of():a.request(e,r)||o.a.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=Object(n.a)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"===typeof e?Object(n.a)(Object(n.a)({},r),e(r)):Object(n.a)(Object(n.a)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return Object(n.a)({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?Object(a.g)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];if(t.indexOf(o)<0)throw __DEV__?new i.a("illegal argument: ".concat(o)):new i.a(27)}return e}(t))))||o.a.of()},e.concat=function(t,r){var n=c(t);if(u(n))return __DEV__&&i.b.warn(new l("You are calling concat on a terminating link, which will have no effect",n)),n;var a=c(r);return u(a)?new e((function(e){return n.request(e,(function(e){return a.request(e)||o.a.of()}))||o.a.of()})):new e((function(e,t){return n.request(e,(function(e){return a.request(e,t)||o.a.of()}))||o.a.of()}))},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new i.a("request is not implemented"):new i.a(22)},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}()},"QBQ+":function(e,t,r){"use strict";var n=r("Z5oE"),i=r("gaSd"),o=r("mReF"),a=r("KGRH"),s=r("QEnl"),c=r("Y2lC"),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(o){var n=__DEV__?new i.a("Network request failed. ".concat(t," is not serializable: ").concat(o.message)):new i.a(24);throw n.parseError=o,n}return r},l=r("Risr");function f(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){n=!0,o.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise((function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])}))}};return l.a&&(u[Symbol.asyncIterator]=function(){return this}),u}function p(e){var t={next:function(){return e.read()}};return l.a&&(t[Symbol.asyncIterator]=function(){return this}),t}function d(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!l.a||!e[Symbol.asyncIterator])}(t))return function(e){var t,r=e[Symbol.asyncIterator]();return(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t}(t);if(function(e){return!!e.getReader}(t))return p(t.getReader());if(function(e){return!!e.stream}(t))return p(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return function(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,r){e.then((function(e){t({value:e,done:!1})})).catch(r)})))}};return l.a&&(r[Symbol.asyncIterator]=function(){return this}),r}(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return f(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var h=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},v=r("RJNl"),y=r("iktk"),b=Object.prototype.hasOwnProperty;function m(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}})),t}function g(e,t){if(e.status>=300){h(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){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function O(e,t){var r,n;"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&(null===(r=t.next)||void 0===r||r.call(t,e.result)),null===(n=t.error)||void 0===n||n.call(t,e))}function j(e,t,r){var n;(n=t,function(e){return e.text().then((function(t){return g(e,t)})).then((function(t){return e.status>=300&&h(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||b.call(t,"data")||b.call(t,"errors")||h(e,t,"Server response was missing for query '".concat(Array.isArray(n)?n.map((function(e){return e.operationName})):n.operationName,"'.")),t}))})(e).then((function(e){var t,n;null===(t=r.next)||void 0===t||t.call(r,e),null===(n=r.complete)||void 0===n||n.call(r)})).catch((function(e){return O(e,r)}))}var w=r("TxWY"),_={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},E=function(e,t){return t(e)};function S(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach((function(e){o=Object(n.a)(Object(n.a)(Object(n.a)({},o),e.options),{headers:Object(n.a)(Object(n.a)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=Object(n.a)(Object(n.a)({},a),e.http)})),o.headers&&(o.headers=k(o.headers,a.preserveHeaderCase));var s=e.operationName,c=e.extensions,u=e.variables,l=e.query,f={operationName:s,variables:u};return a.includeExtensions&&(f.extensions=c),a.includeQuery&&(f.query=t(l,w.a)),{options:o,body:f}}function k(e,t){if(!t){var r=Object.create(null);
1return Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]=e[t]})),r}var n=Object.create(null);Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}}));var i=Object.create(null);return Object.keys(n).forEach((function(e){i[n[e].originalName]=n[e].value})),i}function D(e){return new c.a((function(t){t.error(e)}))}var I=r("sDPB");r.d(t,"a",(function(){return x}));var T=Object(i.c)((function(){return fetch})),x=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,l=e.fetch,f=e.print,p=void 0===f?E:f,h=e.includeExtensions,b=e.preserveHeaderCase,w=e.useGETForQueries,k=e.includeUnusedVariables,x=void 0!==k&&k,R=Object(n.e)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&function(e){if(!e&&"undefined"===typeof fetch)throw __DEV__?new i.a("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n link: new HttpLink({ uri: '/graphql', fetch })\n});\n "):new i.a(23)}(l||T);var P={http:{includeExtensions:h,preserveHeaderCase:b},options:R.fetchOptions,credentials:R.credentials,headers:R.headers};return new a.a((function(e){var t=function(e,t){var r=e.getContext().uri;return r||("function"===typeof t?t(e):t||"/graphql")}(e,r),a=e.getContext(),f={};if(a.clientAwareness){var h=a.clientAwareness,b=h.name,E=h.version;b&&(f["apollographql-client-name"]=b),E&&(f["apollographql-client-version"]=E)}var k,R=Object(n.a)(Object(n.a)({},f),a.headers),q={http:a.http,options:a.fetchOptions,credentials:a.credentials,headers:R},C=S(e,p,_,P,q),N=C.options,F=C.body;if(F.variables&&!x){var M=new Set(Object.keys(F.variables));Object(o.b)(e.query,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&M.delete(e.name.value)}}),M.size&&(F.variables=Object(n.a)({},F.variables),M.forEach((function(e){delete F.variables[e]})))}if(!N.signal){var Q=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),V=Q.controller,A=Q.signal;(k=V)&&(N.signal=A)}var L,B="OperationDefinition"===(L=Object(I.e)(e.query)).kind&&"subscription"===L.operation,z=Object(s.b)(["defer"],e.query);if(w&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(N.method="GET"),z||B){N.headers=N.headers||{};var W="multipart/mixed;";B&&z&&__DEV__&&i.b.warn("Multipart-subscriptions do not support @defer"),B?W+="boundary=graphql;subscriptionSpec=1.0,application/json":z&&(W+="deferSpec=20220824,application/json"),N.headers.accept=W}if("GET"===N.method){var U=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(H){return{parseError:H}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(H){return{parseError:H}}n("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(t,F),J=U.newURI,H=U.parseError;if(H)return D(H);t=J}else try{N.body=u(F,"Payload")}catch(H){return D(H)}return new c.a((function(r){return(l||Object(i.c)((function(){return fetch}))||T)(t,N).then((function(t){var i;e.setContext({response:t});var o=null===(i=t.headers)||void 0===i?void 0:i.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){var r,i,o,a;return Object(n.b)(this,void 0,void 0,(function(){var s,c,u,l,f,p,h,b,j,w,_,E,S,k,D,I,T,x,R,P,q;return Object(n.d)(this,(function(C){switch(C.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");s=new TextDecoder("utf-8"),c=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),"boundary=",u=(null===c||void 0===c?void 0:c.includes("boundary="))?null===c||void 0===c?void 0:c.substring((null===c||void 0===c?void 0:c.indexOf("boundary="))+"boundary=".length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",l="--".concat(u),f="",p=d(e),h=!0,C.label=1;case 1:return h?[4,p.next()]:[3,3];case 2:for(b=C.sent(),j=b.value,w=b.done,_="string"===typeof j?j:s.decode(j),h=!w,E=(f+=_).indexOf(l);E>-1;){if(S=void 0,P=[f.slice(0,E),f.slice(E+l.length)],f=P[1],(S=P[0]).trim()){if(k=S.indexOf("\r\n\r\n"),D=m(S.slice(0,k)),(I=D["content-type"])&&-1===I.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");T=S.slice(k);try{x=g(e,T.replace("\r\n","")),(Object.keys(x).length>1||"data"in x||"incremental"in x||"errors"in x||"payload"in x)&&(Object(y.a)(x)?(R={},"payload"in x&&(R=Object(n.a)({},x.payload)),"errors"in x&&(R=Object(n.a)(Object(n.a)({},R),{extensions:Object(n.a)(Object(n.a)({},"extensions"in R?R.extensions:null),(q={},q[v.b]=x.errors,q))})),null===(i=t.next)||void 0===i||i.call(t,R)):null===(o=t.next)||void 0===o||o.call(t,x))}catch(N){O(N,t)}}E=f.indexOf(l)}return[3,1];case 3:return null===(a=t.complete)||void 0===a||a.call(t),[2]}}))}))}(t,r):j(t,e,r)})).catch((function(e){return O(e,r)})),function(){k&&k.abort()}}))}))}},QEnl:function(e,t,r){"use strict";r.d(t,"c",(function(){return o}
1)),r.d(t,"b",(function(){return a})),r.d(t,"a",(function(){return s}));var n=r("gaSd"),i=r("mReF");function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;__DEV__?Object(n.b)(r&&1===r.length,"Incorrect number of arguments for the @".concat(i," directive.")):Object(n.b)(r&&1===r.length,41);var o=r[0];__DEV__?Object(n.b)(o.name&&"if"===o.name.value,"Invalid argument for the @".concat(i," directive.")):Object(n.b)(o.name&&"if"===o.name.value,42);var a=o.value;__DEV__?Object(n.b)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),"Argument for the @".concat(i," directive must be a variable or a boolean value.")):Object(n.b)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),43),t.push({directive:e,ifArgument:o})}}));return t}(r).every((function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],__DEV__?Object(n.b)(void 0!==o,"Invalid variable referenced in @".concat(r.name.value," directive.")):Object(n.b)(void 0!==o,40)):o=i.value.value,"skip"===r.name.value?!o:o}))}function a(e,t,r){var n=new Set(e),o=n.size;return Object(i.b)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.a}}),r?!n.size:n.size<o}function s(e){return e&&a(["client","export"],e,!0)}},RJNl:function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return a})),r.d(t,"d",(function(){return s})),r.d(t,"a",(function(){return c}));var n=r("Z5oE"),i=(r("gaSd"),r("gILc")),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var c=function(e){function t(r){var o=r.graphQLErrors,a=r.protocolErrors,s=r.clientErrors,c=r.networkError,u=r.errorMessage,l=r.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=o||[],f.protocolErrors=a||[],f.clientErrors=s||[],f.networkError=c||null,f.message=u||function(e){var t=Object(n.f)(Object(n.f)(Object(n.f)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map((function(e){return Object(i.a)(e)&&e.message||"Error message not found."})).join("\n")}(f),f.extraInfo=l,f.__proto__=t.prototype,f}return Object(n.c)(t,e),t}(Error)},ROR6:function(e,t,r){"use strict";r.d(t,"f",(function(){return f})),r.d(t,"b",(function(){return d})),r.d(t,"h",(function(){return v})),r.d(t,"j",(function(){return y})),r.d(t,"e",(function(){return b})),r.d(t,"a",(function(){return m})),r.d(t,"d",(function(){return g})),r.d(t,"i",(function(){return O})),r.d(t,"k",(function(){return j})),r.d(t,"g",(function(){return w})),r.d(t,"c",(function(){return _}));var n=r("RsOj"),i=r("y7UF"),o=r("gILc"),a=r("BNwI"),s=r("QEnl"),c=r("Jlnj"),u=r("c2Zp"),l=r("sDPB"),f=Object.prototype.hasOwnProperty;function p(e){return null===e||void 0===e}function d(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"===typeof r&&(t&&(t.keyObject=p(n)?p(i)?void 0:{_id:i}:{id:n}),p(n)&&!p(i)&&(n=i),!p(n)))return"".concat(r,":").concat("number"===typeof n||"string"===typeof n?n:JSON.stringify(n))}var h={dataIdFromObject:d,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return Object(n.a)(h,e)}function y(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function b(e,t){return Object(i.g)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var m=/^[_a-z][_0-9a-z]*/i;function g(e){var t=e.match(m);return t?t[0]:e}function O(e,t,r){return!!Object(o.a)(t)&&(Object(a.a)(t)?t.every((function(t){return O(e,t,r)})):e.selections.every((function(e){if(Object(i.e)(e)&&Object(s.c)(e,r)){var n=Object(i.i)(e);return f.call(t,n)&&(!e.selectionSet||O(e.selectionSet,t[n],r))}return!0})))}function j(e){return Object(o.a)(e)&&!Object(i.g)(e)&&!Object(a.a)(e)}function w(){return new c.a}function _(e,t){var r=Object(u.a)(Object(l.d)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},Risr:function(e,t,r){"use strict";r.d(t,"d",(function(){return i})),r.d(t,"e",(function(){return o}
1)),r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"b",(function(){return l}));var n=r("gaSd"),i="function"===typeof WeakMap&&"ReactNative"!==Object(n.c)((function(){return navigator.product})),o="function"===typeof WeakSet,a="function"===typeof Symbol&&"function"===typeof Symbol.for,s=a&&Symbol.asyncIterator,c="function"===typeof Object(n.c)((function(){return window.document.createElement})),u=Object(n.c)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,l=c&&!u},RsOj:function(e,t,r){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];void 0!==n&&(r[t]=n)}))})),r}r.d(t,"a",(function(){return n}))},TFzz:function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"b",(function(){return f}));var n=r("Z5oE"),i=(r("gaSd"),r("t05t")),o=r("gILc"),a=r("Risr"),s=r("BNwI");var c,u,l=function(){function e(){this.known=new(a.e?WeakSet:Set),this.pool=new i.a(a.d),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return Object(o.a)(e)&&this.known.has(e)},e.prototype.pass=function(e){if(Object(o.a)(e)){var t=function(e){return Object(o.a)(e)?Object(s.a)(e)?e.slice(0):Object(n.a)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if(Object(o.a)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(c=this.pool.lookupArray(n)).array||(this.known.add(c.array=n),__DEV__&&Object.freeze(n)),c.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var c,u=a.length;if(s.sorted.forEach((function(r){a.push(t.admit(e[r]))})),!(c=this.pool.lookupArray(a)).object){var l=c.object=Object.create(i);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=a[u+t]})),__DEV__&&Object.freeze(l)}return c.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),f=Object.assign((function(e){if(Object(o.a)(e)){void 0===c&&p();var t=c.admit(e),r=u.get(t);return void 0===r&&u.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:p});function p(){c=new l,u=new(a.d?WeakMap:Map)}},TcCw:function(e,t,r){"use strict";var n=r("Z5oE"),i=r("VBdi"),o=r("ToZr"),a=r("f5VC"),s=r("WVPR"),c=r("gaSd"),u=r("TxWY"),l=r("Hivj"),f=r("KGRH"),p=r("cLtc"),d=r("qO2r"),h=r("Y2lC"),v=r("YlAT");function y(e,t){var r={query:e.query&&Object(u.a)(t?Object(p.a)(e.query):e.query)};return JSON.stringify(r)}var b=function(e){function t(t,r,n){void 0===r&&(r=!0),void 0===n&&(n=Object.create(null));var i,o=this;return(o=e.call(this)||this).addTypename=!0,o.showWarnings=!0,o.mockedResponsesByKey={},o.addTypename=r,o.showWarnings=null===(i=n.showWarnings)||void 0===i||i,t&&t.forEach((function(e){o.addMockedResponse(e)})),o}return Object(n.c)(t,e),t.prototype.addMockedResponse=function(e){var t=this.normalizeMockedResponse(e),r=y(t.request,this.addTypename),n=this.mockedResponsesByKey[r];n||(n=[],this.mockedResponsesByKey[r]=n),n.push(t)},t.prototype.request=function(e){var t=this;this.operation=e;var r,n=y(e,this.addTypename),i=[],o=e.variables||{},a=this.mockedResponsesByKey[n],s=a?a.findIndex((function(e,t){var r=e.request.variables||{};return!!Object(l.a)(o,r)||(i.push(r),!1)})):-1,c=s>=0?a[s]:void 0;if(c){a.splice(s,1);var f=c.newData;f&&(c.result=f(),a.push(c)),c.result||c.error||(r=new Error("Mocked response should contain either result or error: ".concat(n)))}else r=new Error("No more mocked responses for the query: ".concat(Object(u.a)(e.query),"\nExpected variables: ").concat(Object(d.a)(e.variables),"\n").concat(i.length>0?"\nFailed to match ".concat(i.length," mock").concat(1===i.length?"":"s"," for this query. The mocked response had the following variables:\n").concat(i.map((function(e){return" ".concat(Object(d.a)(e))})).join("\n"),"\n"):"")),this.showWarnings&&console.warn(r.message+"\nThis typically indicates a configuration error in your mocks setup, usually due to a typo or mismatched variable.");return new h.a((function(e){var n=setTimeout((function(){if(r)try{if(!1!==t.onError(r,e))throw r}catch(n){e.error(n)}else c&&(c.error?e.error(c.error):(c.result&&e.next("function"===typeof c.result?c.result():c.result),e.complete()))}),c&&c.delay||0);return function(){clearTimeout(n)}}))},t.prototype.normalizeMockedResponse=function(e){var t=Object(v.a)(e),r=Object(p.d)(t.request.query);__DEV__?Object(c.b)(r,"query is required"):Object(c.b)(r,38),t.request.query=r;var n=Object(p.c)(t.request.query);return n&&(t.request.query=n),t},t}(f.a);r.d(t,"a",(function(){return m}));var m=function(e){function t(t){var r,n=e.call(this,t)||this,i=(r=n.props).mocks,s=r.addTypename,c=r.defaultOptions,u=r.cache,l=r.resolvers,f=r.link,p=r.showWarnings,d=new o.a({cac
1he:u||new a.a({addTypename:s}),defaultOptions:c,link:f||new b(i||[],s,{showWarnings:p}),resolvers:l});return n.state={client:d},n}return Object(n.c)(t,e),t.prototype.render=function(){var e,t=(e=this.props).children,r=e.childProps;return i.isValidElement(t)?i.createElement(s.a,{client:this.state.client},i.cloneElement(i.Children.only(t),Object(n.a)({},r))):null},t.prototype.componentWillUnmount=function(){this.state.client.stop()},t.defaultProps={addTypename:!0},t}(i.Component)},ToZr:function(e,t,r){"use strict";var n=r("Z5oE"),i=r("gaSd"),o=r("KGRH"),a=o.a.execute,s=r("QBQ+"),c=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,Object(s.a)(t).request)||this;return r.options=t,r}return Object(n.c)(t,e),t}(o.a),u=r("Hivj"),l=r("iktk"),f=r("TFzz"),p=r("Risr"),d=r("Y2lC");function h(e,t,r){return new d.a((function(n){var i=n.next,o=n.error,a=n.complete,s=0,c=!1,u={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++s;var r=function(){return e(t)};u=u.then(r,r).then((function(e){--s,i&&i.call(n,e),c&&f.complete()}),(function(e){throw--s,e})).catch((function(e){o&&o.call(n,e)}))}:function(e){return t&&t.call(n,e)}}var f={next:l(t,i),error:l(r,o),complete:function(){c=!0,s||a&&a.call(n)}},p=e.subscribe(f);return function(){return p.unsubscribe()}}))}var v=r("BNwI");function y(e){var t=b(e);return Object(v.b)(t)}function b(e){var t=Object(v.b)(e.errors)?e.errors.slice(0):[];return Object(l.b)(e)&&Object(v.b)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var m=r("sDPB"),g=r("cLtc"),O=r("QEnl"),j=r("y7UF"),w=r("gILc"),_=r("nb1w");function E(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function S(e){function t(t){Object.defineProperty(e,t,{value:d.a})}return p.c&&Symbol.species&&t(Symbol.species),t("@@species"),e}function k(e){return e&&"function"===typeof e.then}var D=function(e){function t(t){var r=e.call(this,(function(e){return r.addObserver(e),function(){return r.removeObserver(e)}}))||this;return r.observers=new Set,r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),E(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),E(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?k(i)?i.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=i.subscribe(r.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),E(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"===typeof t&&(t=[new d.a(t)]),k(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return Object(n.c)(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],r=e[t];r&&r.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 r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach((function(r){return r(e,t)})))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add((function(r,n){t||(t=!0,e(r,n))}))},t}(d.a);S(D);var I=r("RJNl"),T=r("fuaB"),x=r("YlAT"),R=r("RsOj"),P=Object.assign,q=Object.hasOwnProperty,C=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,(function(e){try{var r=e._subscription._observer;r&&!r.error&&(r.error=F)}catch(t){}var n=!a.observers.size;a.observers.add(e);var i=a.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(i.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=r,a.isTornDown=!1;var s=r.defaultOptions.watchQuery,c=(void 0===s?{}:s).fetchPolicy,u=void 0===c?"cache-first":c,l=o.fetchPolicy,f=void 0===l?u:l,p=o.initialFetchPolicy,d=void 0===p?"standby"===f?u:f:p;a.options=Object(n.a)(Object(n.a)({},o),{initialFetchPolicy:d,fetchPolicy:f}),a.queryId=i.queryId||r.generateQueryId();var h=Object(m.f)(a.query);return a.queryName=h&&h.name&&h.name.value,a}return Object(n.c)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document}
1,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,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||T.a.ready,i=Object(n.a)(Object(n.a)({},t),{loading:Object(T.b)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),Object(u.a)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,!s.complete||i.networkStatus!==T.a.loading||"cache-first"!==a&&"cache-only"!==a||(i.networkStatus=T.a.ready,i.loading=!1)):i.partial=!0,!__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||M(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||!Object(u.a)(this.last.result,e)||t&&!Object(u.a)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||Object(u.a)(r.variables,this.variables)))return r[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,r={pollInterval:0},o=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===o?o:"no-cache"===o?"no-cache":"network-only",__DEV__&&e&&q.call(e,"variables")){var a=Object(m.h)(this.query),s=a.variableDefinitions;s&&s.some((function(e){return"variables"===e.variable.name.value}))||__DEV__&&i.b.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=a.name)||void 0===t?void 0:t.value)||JSON.stringify(a),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!Object(u.a)(this.options.variables,e)&&(r.variables=this.options.variables=Object(n.a)(Object(n.a)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,T.a.refetch)},t.prototype.fetchMore=function(e){var t=this,r=Object(n.a)(Object(n.a)({},e.query?e:Object(n.a)(Object(n.a)(Object(n.a)(Object(n.a)({},this.options),{query:this.query}),e),{variables:Object(n.a)(Object(n.a)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId(),o=this.queryInfo,a=o.networkStatus;o.networkStatus=T.a.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var s=new Set;return this.queryManager.fetchQuery(i,r,T.a.fetchMore).then((function(n){return t.queryManager.removeQuery(i),o.networkStatus===T.a.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:n.data,variables:r.variables})})):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){s.add(e.query)}}),n})).finally((function(){s.has(t.query)||N(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError?e.onError(t):__DEV__&&i.b.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return Object(u.a)(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},T.a.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,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 r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o: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,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){__DEV__?Object(i.b)(r,"Attempted to start a polling query without a polling interval."):Object(i.b)(r,13),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&(Object(T.b)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},T.a.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=Object(n.a)(Object(n.a)({},this.last),{result:this.queryManager.assumeImmutableResults?e:Object(x.a)(e),variables:t}),Object(v.b)(e.errors)||delete this.last.error,this.last},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===T.a.refetch||t===T.a.fetchMore||t===T.a.poll,o=this.options.variables,a=this.options.fetchPolicy,s=Object(R.a)(this.options,e||{}),c=i?s:P(this.options,s);i||(this.updatePolling(),e&&e.variables&&!Object(u.a)(e.variables,o)&&"standby"!==c.fetchPolicy&&c.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",c),void 0===t&&(t=T.a.setVariables)));var l=c.variables&&Object(n.a)({},c.variables),f=this.fetch(c,t),p=f.concast,d=f.fromLink,h={next:function(e){r.reportResult(e,l)},error:function(e){r.reportError(e,l)}};return!i&&d&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=h),p.addObserver(h),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError();(r||this.isDifferentFromLastResult(e,t))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),E(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=Object(n.a)(Object(n.a)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:T.a.error,loading:!1});this.updateLastResult(r,t),E(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}(d.a);function N(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"===typeof n?n.apply(this,arguments):r}}):e.reobserve()}function F(e){__DEV__&&i.b.error("Unhandled error",e.message,e.stack)}function M(e){__DEV__&&e&&__DEV__&&i.b.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}S(C);var Q=r("mReF"),V=r("abDn");function A(e){return e.kind===V.a.FIELD||e.kind===V.a.FRAGMENT_SPREAD||e.kind===V.a.INLINE_FRAGMENT}var L=r("Jlnj"),B=r("c2Zp"),z=r("GVFn"),W=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=Object(L.b)(t.resolvers,e)})):this.resolvers=Object(L.b)(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,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return Object(n.b)(this,void 0,void 0,(function(){return Object(n.d)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then((function(e){return Object(n.a)(Object(n.a)({},r),{data:e.result})}))]:[2,r]}))}))},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return Object(O.b)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return Object(g.c)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return Object(n.a)(Object(n.a)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),Object(n.b)(this,void 0,void 0,(function(){return Object(n.d)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return Object(n.a)(Object(n.a)({},t),e.exportedVariables)}))]:[2,Object(n.a)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return Object(Q.b)(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 Q.a}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:Object(g.b)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,a){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),Object(n.b)(this,void 0,void 0,(function(){var s,c,u,l,f,p,d,h,v,y;return Object(n.d)(this,(function(b){return s=Object(m.e)(e),c=Object(m.d)(e),u=Object(B.a)(c),l=this.collectSelectionsToResolve(s,u),f=s.operation,p=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",h=(d=this).cache,v=d.client,y={fragmentMap:u,context:Object(n.a)(Object(n.a)({},r),{cache:h,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},!1,[2,this.resolveSelectionSet(s.selectionSet,!1,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,o){return Object(n.b)(this,void 0,void 0,(function(){var a,s,c,u,l,f=this;return Object(n.d)(this,(function(p){return a=o.fragmentMap,s=o.context,c=o.variables,u=[r],l=function(e){return Object(n.b)(f,void 0,void 0,(function(){var l,f;return Object(n.d)(this,(function(n){return(t||o.selectionsToResolve.has(e))&&Object(O.c)(e,c)?Object(j.e)(e)?[2,this.resolveField(e,t,r,o).then((function(t){var r;"undefined"!==typeof t&&u.push(((r={})[Object(j.i)(e)]=t,r))}))]:(Object(j.f)(e)?l=e:(l=a[e.name.value],__DEV__?Object(i.b)(l,"No fragment named ".concat(e.name.value)):Object(i.b)(l,11)),l&&l.typeCondition&&(f=l.typeCondition.name.value,o.fragmentMatcher(r,f,s
1))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return Object(L.c)(u)}))]}))}))},e.prototype.resolveField=function(e,t,r,i){return Object(n.b)(this,void 0,void 0,(function(){var o,a,s,c,u,l,f,p,d,h=this;return Object(n.d)(this,(function(n){return r?(o=i.variables,a=e.name.value,s=Object(j.i)(e),c=a!==s,u=r[s]||r[a],l=Promise.resolve(u),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(d=p[c?a:s])&&(l=Promise.resolve(z.a.withValue(this.cache,d,[r,Object(j.a)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(r){var n,o;if(void 0===r&&(r=u),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]=r)}))})),!e.selectionSet)return r;if(null==r)return r;var a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(r)?h.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),Object(Q.b)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&A(e)&&a.add(e)}))},FragmentSpread:function(n,o,s,c,u){var l=t[n.name.value];__DEV__?Object(i.b)(l,"No fragment named ".concat(n.name.value)):Object(i.b)(l,12);var f=e(l);f.size>0&&(u.forEach((function(e){r(e)&&A(e)&&a.add(e)})),a.add(n),f.forEach((function(e){a.add(e)})))}})}return n.get(o)}(e)},e}(),U=new(p.d?WeakMap:Map);function J(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return U.set(e,(U.get(e)+1)%1e15),r.apply(this,arguments)})}function H(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var G=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 r=this.cache=e.cache;U.has(r)||(U.set(r,0),J(r,"evict"),J(r,"modify"),J(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||T.a.loading;return this.variables&&this.networkStatus!==T.a.loading&&!Object(u.a)(this.variables,e.variables)&&(t=T.a.setVariables),Object(u.a)(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(){H(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&Object(u.a)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(t);return this.updateLastDiff(n,t),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,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||Object(u.a)(r&&r.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():N(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1H(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(Object(T.b)(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 r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=Object(n.a)(Object(n.a)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&Object(u.a)(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 r=this.lastWrite;return!(r&&r.dmCount===U.get(this.cache)&&Object(u.a)(t,r.variables)&&Object(u.a)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new L.a,a=Object(v.b)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&Object(v.b)(e.incremental)){var s=Object(l.d)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(Y(e,r.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:U.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var a=i.getDiffOptions(r.variables),s=o.diff(a);i.stopped||i.updateWatch(r.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=T.a.ready},e.prototype.markError=function(e){return this.networkStatus=T.a.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Y(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!y(e);return!n&&r&&e.data&&(n=!0),n}var $=Object.prototype.hasOwnProperty,K=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.queryDeduplication,o=void 0!==i&&i,a=e.onBroadcast,s=e.ssrMode,c=void 0!==s&&s,u=e.clientAwareness,l=void 0===u?{}:u,f=e.localState,d=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(p.d?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=o,this.clientAwareness=l,this.localState=f||new W({cache:t}),this.ssrMode=c,this.assumeImmutableResults=!!d,(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(__DEV__?new i.a("QueryManager stopped while query was in flight"):new i.a(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,a=e.variables,s=e.optimisticResponse,c=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,f=e.awaitRefetchQueries,p=void 0!==f&&f,d=e.update,v=e.onQueryUpdated,m=e.fetchPolicy,g=void 0===m?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":m,O=e.errorPolicy,j=void 0===O?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":O,w=e.keepRootFields,_=e.context;return Object(n.b)(this,void 0,void 0,(function(){var e,t,r,u,f,m;return Object(n.d)(this,(function(O){switch(O.label){case 0:return __DEV__?Object(i.b)(o,"mutation option is required. You must specify your GraphQL document in the mutation option."):Object(i.b)(o,15),__DEV__?Object(i.b)("network-only"===g||"no-cache"===g,"Mutations supp
1ort only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):Object(i.b)("network-only"===g||"no-cache"===g,16),e=this.generateMutationId(),t=this.transform(o),r=t.document,u=t.hasClientExports,o=this.cache.transformForLink(r),a=this.getVariables(o,a),u?[4,this.localState.addExportedVariables(o,a,_)]:[3,2];case 1:a=O.sent(),O.label=2;case 2:return f=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:j,context:_,updateQueries:c,update:d,keepRootFields:w}),this.broadcastQueries(),m=this,[2,new Promise((function(t,r){return h(m.getObservableFromLink(o,Object(n.a)(Object(n.a)({},_),{optimisticResponse:s}),a,!1),(function(t){if(y(t)&&"none"===j)throw new I.a({graphQLErrors:b(t)});f&&(f.loading=!1,f.error=null);var r=Object(n.a)({},t);return"function"===typeof l&&(l=l(r)),"ignore"===j&&y(r)&&delete r.errors,m.markMutationResult({mutationId:e,result:r,document:o,variables:a,fetchPolicy:g,errorPolicy:j,context:_,update:d,updateQueries:c,awaitRefetchQueries:p,refetchQueries:l,removeOptimistic:s?e:void 0,onQueryUpdated:v,keepRootFields:w})})).subscribe({next:function(e){m.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){f&&(f.loading=!1,f.error=t),s&&m.cache.removeOptimistic(e),m.broadcastQueries(),r(t instanceof I.a?t:new I.a({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&Y(i,e.errorPolicy)){if(Object(l.b)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),Object(l.b)(i)&&Object(v.b)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;s.result&&(c=Object(l.d)(s.result,i)),"undefined"!==typeof c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach((function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&$.call(u,s)){var c=u[s],l=r.queries.get(n),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 v=c(h,{mutationResult:i,queryName:f&&Object(m.g)(f)||void 0,queryVariables:p});v&&o.push({result:v,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,c=!Object(l.c)(i)||Object(l.b)(i)&&!i.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=Object(n.a)(Object(n.a)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return 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 r=this,o="function"===typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult(Object(n.a)(Object(n.a)({},t),{result:{data:o}}),e)}catch(a){__DEV__&&i.b.error(a)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),i=Object(g.d)(r),o=this.localState.clientQuery(r),a=i&&this.localState.serverQuery(i),s={document:r,hasClientExports:Object(O.a)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:a,defaultVars:Object(m.b)(Object(m.f)(r)),asQuery:Object(n.a)(Object(n.a)({},r),{definitions:r.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?Object(n.a)(Object(n.a)({},e),{operation:"query"}):e}))})},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(r),c(o),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return Object(n.a)(Object(n.a)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){"undefined"===typeof(e=Object(n.a)(Object(n.a)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new G(this),r=new C({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?Object(i.b)(e.query,"query option is required. You must specify your GraphQL document in the query option."):Object(i.b)(e.query,17),__DEV__?Object(i.b)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):Object(i.b)("Document"===e.query.kind,18),__DEV__?Object(i.b)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):Object(i.b)(!e.returnPartialData,19),__DEV__?Object(i.b)(!e.pollInterval,"pollInterval option only supported on watchQuery."):Object(i.b)(!e.pollInterval,20),this.fetchQuery(t,e).finally((function(){return r.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}),this.cancelPendingFetches(__DEV__?new i.a("Store reset while query was in flight (not completed in link chain)"):new i.a(21)),this.queries.forEac
1h((function(e){e.observableQuery?e.networkStatus=T.a.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 r=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?o.set(e,!1):Object(j.d)(e)?o.set(t.transform(e).document,!1):Object(w.a)(e)&&e.query&&a.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(r.set(n,i),s&&o.set(s,!0),a&&o.set(a,!0))}})),a.size&&a.forEach((function(e){var o=Object(_.a)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new C({queryManager:t,queryInfo:a,options:Object(n.a)(Object(n.a)({},e),{fetchPolicy:"network-only"})});Object(i.b)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)})),__DEV__&&o.size&&o.forEach((function(e,t){e||__DEV__&&i.b.warn("Unknown query ".concat("string"===typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=e.variables,a=e.context,s=void 0===a?{}:a;r=this.transform(r).document,o=this.getVariables(r,o);var c=function(e){return t.getObservableFromLink(r,s,e).map((function(o){"no-cache"!==n&&(Y(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=y(o),s=Object(I.c)(o);if(a||s){var c={};throw a&&(c.graphQLErrors=o.errors),s&&(c.protocolErrors=o.extensions[I.b]),new I.a(c)}return o}))};if(this.transform(r).hasClientExports){var u=this.localState.addExportedVariables(r,o,s).then(c);return new d.a((function(e){var t=null;return u.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return c(o)},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,r,i){var o,s,c=this;void 0===i&&(i=null!==(o=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.transform(e).serverQuery;if(u){var l=this.inFlightLinkObservables,p=this.link,v={query:u,variables:r,operationName:Object(m.g)(u)||void 0,context:this.prepareContext(Object(n.a)(Object(n.a)({},t),{forceFetch:!i}))};if(t=v.context,i){var y=l.get(u)||new Map;l.set(u,y);var b=Object(f.b)(r);if(!(s=y.get(b))){var g=new D([a(p,v)]);y.set(b,s=g),g.beforeNext((function(){y.delete(b)&&y.size<1&&l.delete(u)}))}}else s=new D([a(p,v)])}else s=new D([d.a.of({data:{}})]),t=this.prepareContext(t);var O=this.transform(e).clientQuery;return O&&(s=h(s,(function(e){return c.localState.runResolvers({document:O,remoteResult:e,context:t,variables:r})}))),s},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(this.transform(e.document).document);return h(this.getObservableFromLink(i,r.context,r.variables),(function(o){var a=b(o),s=a.length>0;if(n>
1=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new I.a({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:T.a.ready};return s&&"ignore"!==r.errorPolicy&&(c.errors=a,c.networkStatus=T.a.error),c}),(function(t){var r=Object(I.d)(t)?t:new I.a({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast},e.prototype.fetchConcastWithInfo=function(e,t,r){var n=this;void 0===r&&(r=T.a.loading);var i,o,a=this.transform(t.query).document,s=this.getVariables(a,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,p=t.errorPolicy,d=void 0===p?u&&u.errorPolicy||"none":p,h=t.returnPartialData,v=void 0!==h&&h,y=t.notifyOnNetworkStatusChange,b=void 0!==y&&y,m=t.context,g=void 0===m?{}:m,O=Object.assign({},t,{query:a,variables:s,fetchPolicy:f,errorPolicy:d,returnPartialData:v,notifyOnNetworkStatusChange:b,context:g}),j=function(e){O.variables=e;var i=n.fetchQueryByPolicy(c,O,r);return"standby"!==O.fetchPolicy&&i.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),i},w=function(){return n.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){w(),setTimeout((function(){return i.cancel(e)}))})),this.transform(O.query).hasClientExports)i=new D(this.localState.addExportedVariables(O.query,O.variables,O.context).then(j).then((function(e){return e.sources}))),o=!0;else{var _=j(O.variables);o=_.fromLink,i=new D(_.sources)}return i.promise.then(w,w),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?Object(_.a)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof G&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=c(i,a,o)}c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,h=t.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:this.transform(o).document,variables:a,networkStatus:r});var y=function(){return e.getDiff(a)},b=function(t,r){void 0===r&&(r=e.networkStatus||T.a.loading);var s=t.result;!__DEV__||f||Object(u.a)(s,{})||M(t.missing);var c=function(e){return d.a.of(Object(n.a)({data:e,loading:Object(T.b)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===l&&r===T.a.refetch&&Array.isArray(t.missing)?c(void 0):c(s)},m="no-cache"===s?0:r===T.a.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,m,{variables:a,context:p,fetchPolicy:s,errorPolicy:l})},O=h&&"number"===typeof v&&v!==r&&Object(T.b)(r);switch(s){default:case"cache-first":return(j=y()).complete?{fromLink:!1,sources:[b(j,e.markReady())]}:f||O?{fromLink:!0,sources:[b(j),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var j;return(j=y()).complete||f||O?{fromLink:!0,sources:[b(j),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[b(y(),e.markReady())]};case"network-only":return O?{fromLink:!0,sources:[b(y()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return O?{fromLink:!0,sources:[b(e.getDiff()),g()]}:{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 G(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return Object(n.a)(Object(n.a)({},t),{clientAwareness:this.clientAwareness})},e}(),Z=r("rtUr");r.d(t,"a",(function(){return ee}));var X=!1,ee=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,a=e.headers,s=e.cache,u=e.ssrMode,l=void 0!==u&&u,f=e.ssrForceFetchDelay,p=void 0===f?0:f,d=e.connectToDevTools,h=void 0===d?"object"===typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:d,v=e.queryDeduplication,y=void 0===v||v,b=e.defaultOptions,m=e.assumeImmutableResults,g=void 0!==m&&m,O=e.resolvers,j=e.typeDefs,w=e.fragmentMatcher,_=e.name,E=e.version,S=e.link;
1if(S||(S=r?new c({uri:r,credentials:n,headers:a}):o.a.empty()),!s)throw __DEV__?new i.a("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new i.a(9);if(this.link=S,this.cache=s,this.disableNetworkFetches=l||p>0,this.queryDeduplication=y,this.defaultOptions=b||Object.create(null),this.typeDefs=j,p&&setTimeout((function(){return t.disableNetworkFetches=!1}),p),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),h&&"object"===typeof window&&(window.__APOLLO_CLIENT__=this),!X&&h&&__DEV__&&(X=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var k=window.navigator,D=k&&k.userAgent,I=void 0;"string"===typeof D&&(D.indexOf("Chrome/")>-1?I="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":D.indexOf("Firefox/")>-1&&(I="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),I&&__DEV__&&i.b.log("Download the Apollo DevTools for a better development experience: "+I)}this.version="3.7.11",this.localState=new W({cache:s,client:this,resolvers:O,fragmentMatcher:w}),this.queryManager=new K({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:y,ssrMode:l,clientAwareness:{name:_,version:E},localState:this.localState,assumeImmutableResults:g,onBroadcast:h?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Object(Z.a)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=Object(n.a)(Object(n.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Object(Z.a)(this.defaultOptions.query,e)),__DEV__?Object(i.b)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):Object(i.b)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=Object(n.a)(Object(n.a)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Object(Z.a)(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 a(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var o=Promise.all(n);return o.queries=r,o.results=n,o.catch((function(e){__DEV__&&i.b.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(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}()},TxWY:function(e,t,r){"use strict";var n=r("mReF");function i(e){return Object(n.b)(e,{leave:o})}r.d(t,"a",(function(){return i}));var o={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return s(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=u("(",s(e.variableDefinitions,", "),")"),i=s(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?s([t,s([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+u(" = ",n)+u(" ",s(i," "))},SelectionSet:function(e){return c(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=u("",t,": ")+r,c=a+u("(",s(n,", "),")");return c.length>80&&(c=a+u("(\n",l(s(n,"\n")),"\n)")),s([c,s(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value}
vendor: 1,880 bytes, line 1
1,FragmentSpread:function(e){return"..."+e.name+u(" ",s(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return s(["...",u("on ",t),s(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(u("(",s(n,", "),")")," ")+"on ".concat(r," ").concat(u("",s(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,c="";return!s||n&&i||(c+="\n"+t),c+=t?e.replace(/\n/g,"\n"+t):e,s&&(c+="\n"),'"""'+c.replace(/"""/g,'\\"""')+'"""'}(r,"description"===t?"":" "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+s(e.values,", ")+"]"},ObjectValue:function(e){return"{"+s(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",s(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:a((function(e){var t=e.directives,r=e.operationTypes;return s(["schema",s(t," "),c(r)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:a((function(e){return s(["scalar",e.name,s(e.directives," ")]," ")})),ObjectTypeDefinition:a((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return s(["type",t,u("implements ",s(r," & ")),s(n," "),c(i)]," ")}
1)),FieldDefinition:a((function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(p(r)?u("(\n",l(s(r,"\n")),"\n)"):u("(",s(r,", "),")"))+": "+n+u(" ",s(i," "))})),InputValueDefinition:a((function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return s([t+": "+r,u("= ",n),s(i," ")]," ")})),InterfaceTypeDefinition:a((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return s(["interface",t,u("implements ",s(r," & ")),s(n," "),c(i)]," ")})),UnionTypeDefinition:a((function(e){var t=e.name,r=e.directives,n=e.types;return s(["union",t,s(r," "),n&&0!==n.length?"= "+s(n," | "):""]," ")})),EnumTypeDefinition:a((function(e){var t=e.name,r=e.directives,n=e.values;return s(["enum",t,s(r," "),c(n)]," ")})),EnumValueDefinition:a((function(e){return s([e.name,s(e.directives," ")]," ")})),InputObjectTypeDefinition:a((function(e){var t=e.name,r=e.directives,n=e.fields;return s(["input",t,s(r," "),c(n)]," ")})),DirectiveDefinition:a((function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(p(r)?u("(\n",l(s(r,"\n")),"\n)"):u("(",s(r,", "),")"))+(n?" repeatable":"")+" on "+s(i," | ")})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return s(["extend schema",s(t," "),c(r)]," ")},ScalarTypeExtension:function(e){return s(["extend scalar",e.name,s(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return s(["extend type",t,u("implements ",s(r," & ")),s(n," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return s(["extend interface",t,u("implements ",s(r," & ")),s(n," "),c(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return s(["extend union",t,s(r," "),n&&0!==n.length?"= "+s(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return s(["extend enum",t,s(r," "),c(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return s(["extend input",t,s(r," "),c(n)]," ")}};function a(e){return function(t){return s([t.description,e(t)],"\n")}}function s(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(r))&&void 0!==t?t:""}function c(e){return u("{\n",l(s(e,"\n")),"\n}")}function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function l(e){return u(" ",e.replace(/\n/g,"\n "))}function f(e){return-1!==e.indexOf("\n")}function p(e){return null!=e&&e.some(f)}},WVPR:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("gaSd"),i=r("VBdi"),o=r("cm/O"),a=function(e){var t=e.client,r=e.children,a=Object(o.a)();return i.createElement(a.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),__DEV__?Object(n.b)(e.client,'ApolloProvider was not passed a client instance. Make sure you pass in your client via the "client" prop.'):Object(n.b)(e.client,29),i.createElement(a.Provider,{value:e},r)}))}},X8ds:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));r("gaSd");var n=r("gILc");function i(e){var t=new Set([e]);return t.forEach((function(e){Object(n.a)(e)&&function(e){if(__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){Object(n.a)(e[r])&&t.add(e[r])}))})),e}function o(e){return __DEV__&&i(e),e}},YlAT:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach((function(t,n){i[n]=e(t,r)})),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach((function(n){o[n]=e(t[n],r)})),o;default:return t}}(e)}},abDn:function(e,t,r){"use strict";r.d(t,"a",(function(){return n}));
1var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},c2Zp:function(e,t,r){"use strict";r.d(t,"c",(function(){return o})),r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return s}));var n=r("Z5oE"),i=r("gaSd");function o(e,t){var r=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.a("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.a(44);"FragmentDefinition"===e.kind&&o.push(e)})),"undefined"===typeof r&&(__DEV__?Object(i.b)(1===o.length,"Found ".concat(o.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):Object(i.b)(1===o.length,45),r=o[0].name.value),Object(n.a)(Object(n.a)({},e),{definitions:Object(n.f)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],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 r=e.name.value;if("function"===typeof t)return t(r);var n=t&&t[r];return __DEV__?Object(i.b)(n,"No fragment named ".concat(r)):Object(i.b)(n,46),n||null;default:return null}}},cLtc:function(e,t,r){"use strict";r.d(t,"a",(function(){return y})),r.d(t,"d",(function(){return m})),r.d(t,"b",(function(){return g})),r.d(t,"c",(function(){return O}));var n=r("Z5oE"),i=r("gaSd"),o=r("abDn"),a=r("mReF"),s=r("sDPB"),c=r("y7UF"),u=r("c2Zp"),l=r("BNwI"),f={kind:o.a.FIELD,name:{kind:o.a.NAME,value:"__typename"}};function p(e){return function e(t,r){return!t||t.selectionSet.selections.every((function(t){return t.kind===o.a.FRAGMENT_SPREAD&&e(r[t.name.value],r)}))}(Object(s.f)(e)||Object(s.c)(e),Object(u.a)(Object(s.d)(e)))?null:e}function d(e){var t=new Set,r=[];return e.forEach((function(e){e.name?t.add(e.name):e.test&&r.push(e.test)})),function(e){return t.has(e.name.value)||r.some((function(t){return t(e)}))}}function h(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function v(e,t){for(var r=h(""),s=h(""),c=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!Object(l.a)(n)){if(n.kind===o.a.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===o.a.FRAGMENT_DEFINITION)return s(n.name.value)}return __DEV__&&i.b.error("Could not find operation or fragment"),null},u=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===o.a.OPERATION_DEFINITION&&++u;var v=d(e),y=e.some((function(e){return e.remove})),b=function(e){return y&&e&&e.some(v)},m=new Map,g=!1,O={enter:function(e){if(b(e.directives))return g=!0,null}},j=Object(a.b)(t,{Field:O,InlineFragment:O,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return g=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){m.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===m.get(JSON.stringify(n))?e:u>0&&e.selectionSet.selections.every((function(e){return e.kind===o.a.FIELD&&"__typename"===e.name.value}))?(s(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(v(e))return g=!0,null}}});if(!g)return t;var w=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){w(s(t)).transitiveVars.forEac
1h((function(t){e.transitiveVars.add(t)}))}))),e},_=new Set;j.definitions.forEach((function(e){e.kind===o.a.OPERATION_DEFINITION?w(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){_.add(e)})):e.kind!==o.a.FRAGMENT_DEFINITION||0!==u||s(e.name.value).removed||_.add(e.name.value)})),_.forEach((function(e){w(s(e)).fragmentSpreads.forEach((function(e){_.add(e)}))}));var E={enter:function(e){if(t=e.name.value,!_.has(t)||s(t).removed)return null;var t}};return p(Object(a.b)(j,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=w(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return Object(n.a)(Object(n.a)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var y=Object.assign((function(e){return Object(a.b)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.a.OPERATION_DEFINITION){var i=e.selections;if(i)if(!i.some((function(e){return Object(c.e)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var a=r;if(!(Object(c.e)(a)&&a.directives&&a.directives.some((function(e){return"export"===e.name.value}))))return Object(n.a)(Object(n.a)({},e),{selections:Object(n.f)(Object(n.f)([],i,!0),[f],!1)})}}}}})}),{added:function(e){return e===f}}),b={test:function(e){var t="connection"===e.name.value;return t&&(e.arguments&&e.arguments.some((function(e){return"key"===e.name.value}))||__DEV__&&i.b.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key.")),t}};function m(e){return v([b],Object(s.a)(e))}function g(e){return"query"===Object(s.e)(e).operation?e:Object(a.b)(e,{OperationDefinition:{enter:function(e){return Object(n.a)(Object(n.a)({},e),{operation:"query"})}}})}function O(e){return Object(s.a)(e),v([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},"cm/O":function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("VBdi"),i=r("Risr").c?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function o(){var e=n.createContext[i];return e||(Object.defineProperty(n.createContext,i,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},dm7t:function(e,t,r){"use strict";r.d(t,"a",(function(){return c}));var n=r("gaSd"),i=r("VBdi"),o=r("Hivj"),a=r("tvoZ"),s=r("vM4E");function c(e,t){var r=Object(i.useRef)(!1),c=Object(s.a)(null===t||void 0===t?void 0:t.client);Object(a.b)(e,a.a.Subscription);var u=Object(i.useState)({loading:!(null===t||void 0===t?void 0:t.skip),error:void 0,data:void 0,variables:null===t||void 0===t?void 0:t.variables}),l=u[0],f=u[1];r.current||(r.current=!0,(null===t||void 0===t?void 0:t.onSubscriptionData)&&__DEV__&&n.b.warn(t.onData?"'useSubscription' supports only the 'onSubscriptionData' or 'onData' option, but not both. Only the 'onData' option will be used.":"'onSubscriptionData' is deprecated and will be removed in a future major version. Please use the 'onData' option instead."),(null===t||void 0===t?void 0:t.onSubscriptionComplete)&&__DEV__&&n.b.warn(t.onComplete?"'useSubscription' supports only the 'onSubscriptionComplete' or 'onComplete' option, but not both. Only the 'onComplete' option will be used.":"'onSubscriptionComplete' is deprecated and will be removed in a future major version. Please use the 'onComplete' option instead."));var p=Object(i.useState)((function(){return(null===t||void 0===t?void 0:t.skip)?null:c.subscribe({query:e,variables:null===t||void 0===t?void 0:t.variables,fetchPolicy:null===t||void 0===t?void 0:t.fetchPolicy,context:null===t||void 0===t?void 0:t.context})})),d=p[0],h=p[1],v=Object(i.useRef)(!1);Object(i.useEffect)((function(){return function(){v.current=!0}}),[]);var y=Object(i.useRef)({client:c,subscription:e,options:t});return Object(i.useEffect)((function(){var r,n,i,a,s=null===t||void 0===t?void 0:t.shouldResubscribe;"function"===typeof s&&(s=!!s(t)),(null===t||void 0===t?void 0:t.skip)?(!(null===t||void 0===t?void 0:t.skip)!==!(null===(r=y.current.options)||void 0===r?void 0:r.skip)||v.current)&&(f({loading:!1,data:void 0,error:void 0,variables:null===t||void 0===t?void 0:t.variables}),h(null),v.current=!1):(!1===s||c===y.current.client&&e===y.current.subscription&&(null===t||void 0===t?void 0:t.fetchPolicy)===(null===(n=y.current.options)||void 0===n?void 0:n.fetchPolicy)&&!(null===t||void 0===t?void 0:t.skip)===!(null===(i=y.current.options)||void 0===i?void 0:i.skip)&&Object(o.a)(null===t||void 0===t?void 0:t.variables,null===(a=y.current.options)||void 0===a?void 0:a.variables))&&!v.current||(f({loading:!0,data:void 0,error:void 0,variables:null===t||void 0===t?void 0:t.variables}),h(c.subscribe({query:e,variables:null===t||void 0===t?void 0:t.variables,fetchPolicy:null===t||void 0===t?void 0:t.fetchPolicy,context:null===t||void 0===t?void 0:t.context})),v.current=!1),Object.assign(y.current,{client:c,subscription:e,options:t})}),[c,e,t,v.current]),Object(i.useEffect)((function(){if(d){var e=d.subscribe({next:function(e){var r,n,i={loading:!1,data:e.data,error:void 0,variables:null===t||void 0===t?void 0:t.variables};f(i),(null===(r=y.current.options)||void 0===r?void 0:r.onData)?y.current.options.onData({client:c,data:i}):(null===(n=y.current.options)||void 0===n?void 0:n.onSubscriptionData)&&y.current.options.onSubscriptionData({client:c,subscriptionData:i})},error:function(e){var r,n;f({loading:!1,data:void 0,error:e,variables:null===t||void 0===t?void 0:t.variables}),null===(n=null===(r=y.current.options)||void 0===r?void 0:r.onError)||void 0===n||n.call(r,e)},complete:function(){var e,t;(null===(e=y.current.options)||void 0===e?void 0:e.onComplete)?y.current.options.onComplete():(null===(t=y.current.options)||void 0===t?void 0:t.onSubscriptionComplete)&&y.current.options.onSubscriptionComplete()}});return function(){e.unsubscribe()}}}),[d]),l}},f5VC:function(e,t,r){"use strict";var n=r("Z5oE"),i=r("gaSd"),o=r("FgM6"),a=r("Hivj"),s=r("c2Zp"),c=function(){function e(){this.getFragmentDoc=Object(o.b)(s.c)}return e.prototype.batch=function(e){var t,r=this,n="string"===typeof e.o
1ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(Object(n.a)(Object(n.a)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(Object(n.a)(Object(n.a)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=Object(n.e)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=Object(n.e)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return void 0===o||null===o?i:(r.writeQuery(Object(n.a)(Object(n.a)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return void 0===o||null===o?i:(r.writeFragment(Object(n.a)(Object(n.a)({},e),{data:o})),o)}})},e}(),u=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return Object(n.c)(t,e),t}(Error),l=r("y7UF"),f=r("cLtc"),p=r("abDn"),d=r("Risr"),h=r("RsOj"),v=r("sDPB"),y=r("Jlnj"),b=r("QEnl"),m=r("X8ds"),g=r("gILc"),O=r("t05t"),j=r("ROR6"),w=Object.create(null),_=function(){return w},E=Object.create(null),S=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return Object(m.a)(Object(l.g)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Object(l.g)(e)?r.has(e.__ref):"object"===typeof e},this.toReference=function(e,t){if("string"===typeof e)return Object(l.h)(e);if(Object(l.g)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=Object(l.h)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return Object(n.a)({},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),j.f.call(this.data,e)){var r=this.data[e];if(r&&j.f.call(r,t))return r[t]}return"__typename"===t&&j.f.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof T?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),j.f.call(this.data,e)?this.data[e]:this instanceof T?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;Object(l.g)(e)&&(e=e.__ref),Object(l.g)(t)&&(t=t.__ref);var o="string"===typeof e?this.lookup(r=e):e,a="string"===typeof t?this.lookup(r=t):t;if(a){__DEV__?Object(i.b)("string"===typeof r,"store.merge expects a string ID"):Object(i.b)("string"===typeof r,1);var s=new y.a(R).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach((function(e){if(!o||o[e]!==s[e]){c[e]=1;var t=Object(j.d)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||n instanceof T||delete s[e]}})),!c.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete c.__typename,Object.keys(c).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,c={DELETE:w,INVALIDATE:E,isReference:l.g,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"===typeof t?{fieldName:t,from:n||Object(l.h)(e)}:t,{store:r})}};
1if(Object.keys(i).forEach((function(u){var l=Object(j.d)(u),f=i[u];if(void 0!==f){var p="function"===typeof t?t:t[u]||t[l];if(p){var d=p===_?w:p(Object(m.a)(f),Object(n.a)(Object(n.a)({},c),{fieldName:l,storeFieldName:u,storage:r.getStorage(e,u)}));d===E?r.group.dirty(e,u):(d===w&&(d=void 0),d!==f&&(o[u]=d,a=!0,f=d))}void 0!==f&&(s=!1)}})),a)return this.merge(e,o),s&&(this instanceof T?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=_,n):_)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(j.f.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof T&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){j.f.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&j.f.call(e,r)||t.delete(r)})),e){var r=e.__META,i=Object(n.e)(e,["__META"]);
1Object.keys(i).forEach((function(e){t.merge(e,i[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof T?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){j.f.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof T;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!j.f.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){Object(l.g)(e)&&(t[e.__ref]=!0),Object(g.a)(e)&&Object.keys(e).forEach((function(t){var r=e[t];Object(g.a)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),k=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?Object(o.a)():null,this.keyMaker=new O.a(d.d)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(D(e,t));var r=Object(j.d)(t);r!==t&&this.d(D(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(D(e,t),"__exists"===t?"forget":"setDirty")},e}();function D(e,t){return t+"#"+e}function I(e,t){P(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,a=e.call(this,r,new k(i))||this;return a.stump=new x(a),a.storageTrie=new O.a(d.d),o&&a.replace(o),a}return Object(n.c)(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}(e);e.Root=t}(S||(S={}));var T=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return Object(n.c)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){Object(a.a)(n[r],i[r])||t.group.dirty(e,r)}
1)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return Object(n.a)(Object(n.a)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return j.f.call(this.data,t)?Object(n.a)(Object(n.a)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(S),x=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new k(t.group.caching,t.group))||this}return Object(n.c)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(T);function R(e,t,r){var n=e[r],i=t[r];return Object(a.a)(n,i)?n:i}function P(e){return!!(e instanceof S&&e.group.caching)}var q=r("BNwI"),C=r("TFzz");function N(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var F=function(){function e(e){var t=this;this.knownResults=new(d.d?WeakMap:Map),this.config=Object(h.a)(e,{addTypename:!1!==e.addTypename,canonizeResults:Object(j.j)(e)}),this.canon=e.canon||new C.a,this.executeSelectionSet=Object(o.b)((function(e){var r,i=e.context.canonizeResults,o=N(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?Object(n.a)(Object(n.a)({},a),{result:t.canon.admit(a.result)}):a:(I(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:N,makeCacheKey:function(e,t,r,n){if(P(r.store))return r.store.makeCacheKey(e,Object(l.g)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=Object(o.b)((function(e){return I(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(P(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new C.a},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,c=void 0===s||s,f=e.canonizeResults,p=void 0===f?this.config.canonizeResults:f,d=this.config.cache.policies;a=Object(n.a)(Object(n.a)({},Object(v.b)(Object(v.h)(r))),a);var h,y=Object(l.h)(o),b=this.executeSelectionSet({selectionSet:Object(v.e)(r).selectionSet,objectOrReference:y,enclosingRef:y,context:Object(n.a)({store:t,query:r,policies:d,variables:a,varString:Object(C.b)(a),canonizeResults:p},Object(j.c)(r,this.config.fragments))});if(b.missing&&(h=[new u(M(b.missing),b.missing,r,a)],!c))throw h[0];return{result:b.result,complete:!h,missing:h}},e.prototype.isFresh=function(e,t,r,n){if(P(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,a=e.context;if(Object(l.g)(n)&&!a.policies.rootTypenamesById[n.__ref]&&!a.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var c,u=a.variables,d=a.policies,h=a.store.getFieldValue(n,"__typename"),v=[],g=new y.a;function O(e,t){var r;return e.missing&&(c=g.merge(c,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"===typeof h&&!d.rootIdsByTypename[h]&&v.push({__typename:h});var j=new Set(r.selections);j.forEach((function(e){var r,y;if(Object(b.c)(e,u))if(Object(l.e)(e)){var m=d.readField({fieldName:e.name.value,field:e,variables:a.variables,from:n},a),w=Object(l.i)(e);void 0===m?f.a.added(e)||(c=g.merge(c,((r={})[w]="Can't find field '".concat(e.name.value,"' on ").concat(Object(l.g)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):Object(q.a)(m)?m=O(t.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:a}),w):e.selectionSet?null!=m&&(m=O(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:Object(l.g)(m)?m:o,context:a}
1),w)):a.canonizeResults&&(m=t.canon.pass(m)),void 0!==m&&v.push(((y={})[w]=m,y))}else{var _=Object(s.b)(e,a.lookupFragment);if(!_&&e.kind===p.a.FRAGMENT_SPREAD)throw __DEV__?new i.a("No fragment named ".concat(e.name.value)):new i.a(5);_&&d.fragmentMatches(_,h)&&_.selectionSet.selections.forEach(j.add,j)}}));var w={result:Object(y.c)(v),missing:c},_=a.canonizeResults?this.canon.admit(w):Object(m.a)(w);return _.result&&this.knownResults.set(_.result,r),_},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,c=new y.a;function u(e,r){var n;return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map((function(e,t){return null===e?null:Object(q.a)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:Object(l.g)(e)?e:a,context:s}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){Object(g.a)(r)&&(__DEV__?Object(i.b)(!Object(l.g)(r),"Missing selection set for object of type ".concat(Object(j.e)(e,r)," returned for query field ").concat(t.name.value)):Object(i.b)(!Object(l.g)(r),6),Object.values(r).forEach(n.add,n))}))}}(s.store,n,e),e)})),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function M(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var Q=r("YlAT"),V=r("qO2r"),A=r("GVFn"),L=Object.create(null);function B(e){var t=JSON.stringify(e);return L[t]||(L[t]=Object.create(null))}function z(e){var t=B(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=U(e,(function(e){var o=H(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&j.f.call(t,e[0])&&(o=H(t,e,J)),__DEV__?Object(i.b)(void 0!==o,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):Object(i.b)(void 0!==o,2),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function W(e){var t=B(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=U(e,(function(e){var r=e[0],o=r.charAt(0);if("@"!==o)if("$"!==o){if(t)return H(t,e)}else{var a=r.slice(1);if(i&&j.f.call(i,a)){var s=e.slice(0);return s[0]=a,H(i,s)}}else if(n&&Object(q.b)(n.directives)){var c=r.slice(1),u=n.directives.find((function(e){return e.name.value===c})),f=u&&Object(l.a)(u,i);return f&&H(f,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function U(e,t){var r=new y.a;return function e(t){var r=B(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach((function(r,o){Object(q.a)(r)?(e(r).forEach((function(e){return n.push(i.concat(e))})),i.length=0):(i.push(r),Object(q.a)(t[o+1])||(n.push(i.slice(0)),i.length=0))}))}return r.paths}(e).reduce((function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e}),Object.create(null))}function J(e,t){return e[t]}function H(e,t,r){return r=r||J,G(t.reduce((function e(t,n){return Object(q.a)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function G(e){return Object(g.a)(e)?Object(q.a)(e)?e.map(G):U(Object.keys(e).sort(),(function(t){return H(e,t)})):e}function Y(e){return void 0!==e.args?e.args:e.field?Object(l.a)(e.field,e.variables):null}l.b.setStringify(C.b);var $=function(){},K=function(e,t){return t.fieldName},Z=function(e,t,r){return(0,r.mergeObjects)(e,t)},X=function(e,t){return t},ee=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=Object(n.a)({dataIdFromObject:j.b},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a,s=t&&t.storeObject||e,c=Object(n.a)(Object(n.a)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=re(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l(e,c);if(!Object(q.a)(f)){a=f;break}l=z(f)}return a=a?String(a):void 0,c.keyObject?[a,c.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=Object(n.e)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),j.f.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?Z:!1===t?X:e.merge}a(n,t.merge),n.keyFn=!1===i?$:Object(q.a)(i)?z(i):"function"===typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h((function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"===typeof i)n.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===s?K:Object(q.a)(s)?W(s):"function"===typeof s?s:n.keyFn,"function"===typeof c&&(n.read=c),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||K)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(__DEV__?Object(i.b)(!n||n===e,"Cannot change root ".concat(e," __typename more than once")):Object(i.b)(!n||n===e,3),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(j.a);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!j.f.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,a=Object(n.e)(i,["fields"]);Object.assign(r,a),Object.assign(r.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!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],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},l=!(!r||!this.fuzzySubtypes.size),f=!1,p=0;p<c.length;++p){var d=c[p];if(d.has(a))return s.has(a)||(f&&__DEV__&&i.b.warn("Inferring subtype ".concat(t," of supertype ").concat(a)),s.add(a)),!0;d.forEach(u),l&&p===c.length-1&&Object(j.i)(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach((function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=Y(e);o;){var c=o(s,a);if(!Object(q.a)(c)){t=c||n;break}o=W(c)}return void 0===t&&(t=e.field?Object(l.j)(e.field,e.variables):Object(l.b)(n,Y(e))),!1===t?n:n===Object(j.d)(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=Object(j.d)(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=te(this,r,e,t,t.store.getStorage(Object(l.g)(r)?r.__ref:r,i));return A.a.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===Z?ne(n.store)(e,t):s===X?t:(n.overwrite&&(e=void 0),s(e,t,te(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function te(e,t,r,n,i){var o=e.getStoreFieldName(r),a=Object(j.d)(o),s=r.variables||n.variables,c=n.store,u=c.toReference,f=c.canRead;return{args:Y(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:l.g,toReference:u,storage:i,cache:e.cache,canRead:f,readField:function(){return e.readField(re(arguments,t,s),n)},mergeObjects:ne(n.store)}}function re(e,t,r){var o,a=e[0],s=e[1],c=e.length;return"string"===typeof a?o={fieldName:a,from:c>1?s:t}:(o=Object(n.a)({},a),j.f.call(o,"from")||(o.from=t)),__DEV__&&void 0===o.from&&__DEV__&&i.b.warn("Undefined 'from' passed to readField with arguments ".concat(Object(V.a)(Array.from(e)))),void 0===o.variables&&(o.variables=r),o}function ne(e){return function(t,r){if(Object(q.a)(t)||Object(q.a)(r))throw __DEV__?new i.a("Cannot automatically merge arrays"):new i.a(4);if(Object(g.a)(t)&&Object(g.a)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if(Object(l.g)(t)&&Object(j.k)(r))return e.merge(t.__ref,r),t;if(Object(j.k)(t)&&Object(l.g)(r))return e.merge(t,r.__ref),r;if(Object(j.k)(t)&&Object(j.k)(r))return Object(n.a)(Object(n.a)({},t),r)}return r}}function ie(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:Object(n.a)(Object(n.a)({},e),{clientOnly:t,deferred:r})),o}var oe=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,c=t.dataId,u=t.variables,f=t.overwrite,p=Object(v.f)(o),d=Object(j.g)();u=Object(n.a)(Object(n.a)({},Object(v.b)(p)),u);var h=Object(n.a)(Object(n.a)({store:e,written:Object.create(null),merge:function(e,t){return d.merge
1(e,t)},variables:u,varString:Object(C.b)(u)},Object(j.c)(o,this.fragments)),{overwrite:!!f,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:c,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:h});if(!Object(l.g)(y))throw __DEV__?new i.a("Could not identify object ".concat(JSON.stringify(s))):new i.a(7);return h.incomingById.forEach((function(t,n){var o=t.storeObject,s=t.mergeTree,c=t.fieldNodeSet,u=Object(l.h)(n);if(s&&s.map.size){var f=r.applyMerges(s,u,o,h);if(Object(l.g)(f))return;o=f}if(__DEV__&&!h.overwrite){var p=Object.create(null);c.forEach((function(e){e.selectionSet&&(p[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===p[Object(j.d)(e)]})(e)&&!function(e){var t=s&&s.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"===typeof t&&t},s=o(e);if(!s)return;var c=o(t);if(!c)return;if(Object(l.g)(s))return;if(Object(a.a)(s,c))return;if(Object.keys(s).every((function(e){return void 0!==n.getFieldValue(c,e)})))return;var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),f=Object(j.d)(r),p="".concat(u,".").concat(f);if(le.has(p))return;le.add(p);var d=[];Object(q.a)(s)||Object(q.a)(c)||[s,c].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!==typeof t||d.includes(t)||d.push(t)}));__DEV__&&i.b.warn("Cache data may be lost when replacing the ".concat(f," field of a ").concat(u," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(p," field, so InMemoryCache can safely merge these objects:\n\n existing: ").concat(JSON.stringify(s).slice(0,1e3),"\n incoming: ").concat(JSON.stringify(c).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}(u,o,e,h.store)}))}e.merge(n,o)})),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,c=e.mergeTree,u=this.cache.policies,p=Object.create(null),d=r&&u.rootTypenamesById[r]||Object(l.c)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"===typeof d&&(p.__typename=d);var h=function(){var e=re(arguments,p,s.variables);if(Object(l.g)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField(Object(n.a)(Object(n.a)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},v=new Set;this.flattenFields(a,o,s,d).forEach((function(e,r){var n,a=Object(l.i)(r),s=o[a];if(v.add(r),void 0!==s){var y=u.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),b=se(c,y),m=t.processFieldValue(s,r,r.selectionSet?ie(e,!1,!1):e,b),g=void 0;r.selectionSet&&(Object(l.g)(m)||Object(j.k)(m))&&(g=h("__typename",m));var O=u.getMergeFunction(d,r.name.value,g);O?b.info={field:r,typename:d,merge:O}:ue(c,y),p=e.merge(p,((n={})[y]=m,n))}else!__DEV__||e.clientOnly||e.deferred||f.a.added(r)||u.getReadFunction(d,r.name.value)||__DEV__&&i.b.error("Missing field '".concat(Object(l.i)(r),"' while writing result ").concat(JSON.stringify(o,null,2)).substring(0,1e3))}));try{var y=u.identify(o,{typename:d,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:p,readField:h}),b=y[0],m=y[1];r=r||b,m&&(p=s.merge(p,m))}catch(_){if(!r)throw _}if("string"===typeof r){var g=Object(l.h)(r),O=s.written[r]||(s.written[r]=[]);if(O.indexOf(a)>=0)return g;if(O.push(a),this.reader&&this.reader.isFresh(o,g,a,s))return g;var w=s.incomingById.get(r);return w?(w.storeObject=s.merge(w.storeObject,p),w.mergeTree=function e(t,r){if(t===r||!r||ce(r))return t;if(!t||ce(t))return r;var i=t.info&&r.info?Object(n.a)(Object(n.a)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a=o?new Map:t.map.size?t.map:r.map,s={info:i,map:a};if(o){var c=new Set(r.map.keys());
1t.map.forEach((function(t,n){s.map.set(n,e(t,r.map.get(n))),c.delete(n)})),c.forEach((function(n){s.map.set(n,e(r.map.get(n),t.map.get(n)))}))}return s}(w.mergeTree,c),v.forEach((function(e){return w.fieldNodeSet.add(e)}))):s.incomingById.set(r,{storeObject:p,mergeTree:ce(c)?void 0:c,fieldNodeSet:v}),g}return p},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?Object(q.a)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,r,se(n,o));return ue(n,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):__DEV__?Object(Q.a)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=Object(l.c)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,c=new O.a(!1);return function e(u,f){var d=c.lookup(u,f.clientOnly,f.deferred);d.visited||(d.visited=!0,u.selections.forEach((function(c){if(Object(b.c)(c,r.variables)){var u=f.clientOnly,d=f.deferred;if(u&&d||!Object(q.b)(c.directives)||c.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=Object(l.a)(e,r.variables);n&&!1===n.if||(d=!0)}})),Object(l.e)(c)){var h=o.get(c);h&&(u=u&&h.clientOnly,d=d&&h.deferred),o.set(c,ie(r,u,d))}else{var v=Object(s.b)(c,r.lookupFragment);if(!v&&c.kind===p.a.FRAGMENT_SPREAD)throw __DEV__?new i.a("No fragment named ".concat(c.name.value)):new i.a(8);v&&a.fragmentMatches(v,n,t,r.variables)&&e(v.selectionSet,ie(r,u,d))}}})))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s,c=this;if(e.map.size&&!Object(l.g)(r)){var u,f=Object(q.a)(r)||!Object(l.g)(t)&&!Object(j.k)(t)?void 0:t,p=r;f&&!a&&(a=[Object(l.g)(f)?f.__ref:f]);var d=function(e,t){return Object(q.a)(e)?"number"===typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=d(f,t),n=d(p,t);if(void 0!==n){a&&a.push(t);var s=c.applyMerges(e,r,n,o,a);s!==n&&(u=u||new Map).set(t,s),a&&Object(i.b)(a.pop()===t)}})),u&&(r=Object(q.a)(p)?p.slice(0):Object(n.a)({},p),u.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):r},e}(),ae=[];function se(e,t){var r=e.map;return r.has(t)||r.set(t,ae.pop()||{map:new Map}),r.get(t)}function ce(e){return!e||!(e.info||e.map.size)}function ue(e,t){var r=e.map,n=r.get(t);n&&ce(n)&&(ae.push(n),r.delete(t))}var le=new Set;r.d(t,"a",(function(){return fe}));var fe=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.typenameDocumentCache=new Map,r.makeVar=A.c,r.txCount=0,r.config=Object(j.h)(t),r.addTypename=!!r.config.addTypename,r.policies=new ee({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return Object(n.c)(t,e),t.prototype.init=function(){var e=this.data=new S.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new oe(this,this.storeReader=new F({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:Object(j.j)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=Object(o.b)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(P(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,Object(C.b)({optimistic:n,id:i,variables:o}))}}}),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,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore(Object(n.a)(Object(n.a)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(i){if(i instanceof u)return null;throw i}},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(j.f.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(Object(n.a)(Object(n.a)({},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||Object(A.d)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&Object(A.b)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){C.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(Object(l.g)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){__DEV__&&i.b.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(j.f.call(e,"id"))return!1;e=Object(n.a)(Object(n.a)({},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(),C.b.reset(),e&&e.discardWatches?(this.watches.forEac
1h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),Object(A.b)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r,o=n.data,a=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},l=new Set;return c&&!this.txCount&&this.broadcastWatches(Object(n.a)(Object(n.a)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"===typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"===typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches(Object(n.a)(Object(n.a)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=Object(f.a)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.transformForLink=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&Object(a.a)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(c)},fuaB:function(e,t,r){"use strict";var n;function i(e){return!!e&&e<7}r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return i})),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},gILc:function(e,t,r){"use strict";function n(e){return null!==e&&"object"===typeof e}r.d(t,"a",(function(){return n}))},gaSd:function(e,t,r){"use strict";var n=r("fk7S"),i=r("vq03"),o=r("0nBV"),a="__",s=[a,a].join("DEV");var c=function(){try{return Boolean(__DEV__)}catch(e){return Object.defineProperty(i.a,s,{value:"production"!==Object(o.a)((function(){return"production"})),enumerable:!1,configurable:!0,writable:!0}),i.a[s]}}(),u=r("ixSS");"function"===typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"===typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator,"function"===typeof Symbol&&null!=Symbol.toStringTag&&Symbol.toStringTag,r("HrIi");r.d(t,"c",(function(){return o.a})),r.d(t,"b",(function(){return n.b})),r.d(t,"a",(function(){return n.a})),Object(u.a)(),__DEV__?Object(n.b)("boolean"===typeof c,c):Object(n.b)("boolean"===typeof c,39)},iktk:function(e,t,r){"use strict";r.d(t,"b",(function(){return a})),r.d(t,"c",(function(){return s})),r.d(t,"a",(function(){return c})),r.d(t,"d",(function(){return u}));var n=r("gILc"),i=r("BNwI"),o=r("Jlnj");function a(e){return"incremental"in e}function s(e){return a(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function c(e){return Object(n.a)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.a;return a(t)&&Object(i.b)(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}r=n.merge(r,t)})),r}},kZWY:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("Z5oE"),i=r("gzET"),o=r("FQxg");function a(e){var t=e.children,r=e.query,i=Object(n.e)(e,["children","query"]),a=Object(o.b)(r,i);return a?t(a):null}a.propTypes={client:i.object,children:i.func.isRequired,fetchPolicy:i.string,notifyOnNetworkStatusChange:i.bool,onCompleted:i.func,onError:i.func,pollInterval:i.number,query:i.object.isRequired,variables:i.object,ssr:i.bool,partialRefetch:i.bool,returnPartialData:i.bool}},mReF:function(e,t,r){"use strict";var n=r("HrIi");var i=r("wEys");function o(e){var t=e.prototype.toJSON;"function"===typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,i.a&&(e.prototype[i.a]=t)}function a(e){return null!=e&&"string"===typeof e.kind}o(function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}()),o(function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}()),r.d(t,"a",(function(){return c})),r.d(t,"b",(function(){return u}));
1var s={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},c=Object.freeze({});function u(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,i=void 0,o=Array.isArray(e),u=[e],f=-1,p=[],d=void 0,h=void 0,v=void 0,y=[],b=[],m=e;do{var g=++f===u.length,O=g&&0!==p.length;if(g){if(h=0===b.length?void 0:y[y.length-1],d=v,v=b.pop(),O){if(o)d=d.slice();else{for(var j={},w=0,_=Object.keys(d);w<_.length;w++){var E=_[w];j[E]=d[E]}d=j}for(var S=0,k=0;k<p.length;k++){var D=p[k][0],I=p[k][1];o&&(D-=S),o&&null===I?(d.splice(D,1),S++):d[D]=I}}f=i.index,u=i.keys,p=i.edits,o=i.inArray,i=i.prev}else{if(h=v?o?f:u[f]:void 0,null===(d=v?v[h]:m)||void 0===d)continue;v&&y.push(h)}var T,x=void 0;if(!Array.isArray(d)){if(!a(d))throw new Error("Invalid AST Node: ".concat(Object(n.a)(d),"."));var R=l(t,d.kind,g);if(R){if((x=R.call(t,d,h,v,y,b))===c)break;if(!1===x){if(!g){y.pop();continue}}else if(void 0!==x&&(p.push([h,x]),!g)){if(!a(x)){y.pop();continue}d=x}}}if(void 0===x&&O&&p.push([h,d]),g)y.pop();else i={inArray:o,index:f,keys:u,edits:p,prev:i},u=(o=Array.isArray(d))?d:null!==(T=r[d.kind])&&void 0!==T?T:[],f=-1,p=[],v&&b.push(v),v=d}while(void 0!==i);return 0!==p.length&&(m=p[p.length-1][1]),m}function l(e,t,r){var n=e[t];if(n){if(!r&&"function"===typeof n)return n;var i=r?n.leave:n.enter;if("function"===typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"===typeof o)return o;var a=o[t];if("function"===typeof a)return a}}}},nb1w:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},qO2r:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r("nb1w");function i(e){var t=Object(n.a)("stringifyForDisplay");return JSON.stringify(e,(function(e,r){return void 0===r?t:r})).split(JSON.stringify(t)).join("<undefined>")}},rtUr:function(e,t,r){"use strict";r.d(t,"a",(function(){return o}));var n=r("Z5oE"),i=r("RsOj");function o(e,t){return Object(i.a)(e,t,t.variables&&{variables:Object(n.a)(Object(n.a)({},e&&e.variables),t.variables)})}},sDPB:function(e,t,r){"use strict";r.d(t,"a",(function(){return o})),r.d(t,"f",(function(){return a})),r.d(t,"g",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"h",(function(){return u})),r.d(t,"c",(function(){return l})),r.d(t,"e",(function(){return f})),r.d(t,"b",(function(){return p}));var n=r("gaSd"),i=r("y7UF");function o(e){__DEV__?Object(n.b)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Object(n.b)(e&&"Document"===e.kind,47);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new n.a('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new n.a(48);return e}));return __DEV__?Object(n.b)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):Object(n.b)(t.length<=1,49),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 c(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function u(e){var t=a(e);return __DEV__?Object(n.b)(t&&"query"===t.operation,"Must contain a query definition."):Object(n.b)(t&&"query"===t.operation,50),t}function l(e){__DEV__?Object(n.b)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):Object(n.b)("Document"===e.kind,51),__DEV__?Object(n.b)(e.definitions.length<=1,"Fragment must have exactly one definition."):Object(n.b)(e.definitions.length<=1,52);var t=e.definitions[0];return __DEV__?Object(n.b)("FragmentDefinition"===t.kind,"Must be a fragment definition."):Object(n.b)("FragmentDefinition"===t.kind,53),t}function f(e){var t;o(e);for(var r=0,i=e.definitions;r<i.length;r++){var a=i[r];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 __DEV__?new n.a("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new n.a(54)}function p(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&Object(i.k)(t,e.variable.name,e.defaultValue)})),t}},tvoZ:function(e,t,r){"use strict";r.d(t,"a",(function(){return n})),r.d(t,"b",(function(){return s}));var n,i=r("gaSd");!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={}));var o=new Map;function a(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function s(e,t){var r=function(e){var t,r,a=o.get(e);if(a)return a;__DEV__?Object(i.b)(!!e&&!!e.kind,"Argument of ".concat(e," passed to parser was not a valid GraphQL ")+"DocumentNode. You may need to use 'graphql-tag' or another method to convert your operation into a document"):Object(i.b)(!!e&&!!e.kind,33);for(var s=[],c=[],u=[],l=[],f=0,p=e.definitions;f<p.length;f++){var d=p[f];if("FragmentDefinition"!==d.kind){if("OperationDefinition"===d.kind)switch(d.operation){case"query":c.push(d);break;case"mutation":u.push(d);break;case"subscription":l.push(d)}}else s.push(d)}__DEV__?Object(i.b)(!s.length||c.length||u.length||l.length,"Passing only a fragment to 'graphql' is not yet supported. You must include a query, subscription or mutation as well"):Object(i.b)(!s.length||c.length||u.length||l.length,34),__DEV__?Object(i.b)(c.length+u.length+l.length<=1,"react-apollo only supports a query, subscription, or a mutation per HOC. "+"".concat(e," had ").concat(c.length," queries, ").concat(l.length," ")+"subscriptions and ".concat(u.length," mutations. ")+"You can use 'compose' to join multiple operation types to a component"):Object(i.b)(c.length+u.length+l.length<=1,35),r=c.length?n.Query:n.Mutation,c.length||u.length||(r=n.Subscription);var h=c.length?c:u.length?u:l;__DEV__?Object(i.b)(1===h.length,"react-apollo only supports one definition per HOC. ".concat(e," had ")+"".concat(h.length," definitions. ")+"You can use 'compose' to join multiple operation types to a component"):Object(i.b)(1===h.length,36);var v=h[0];t=v.variableDefinitions||[];var y={name:v.name&&"Name"===v.name.kind?v.name.value:"data",type:r,variables:t};return o.set(e,y),y}(e),s=a(t),c=a(r.type);__DEV__?Object(i.b)(r.type===t,"Running a ".concat(s," requires a graphql ")+"".concat(s,", but a ").concat(c," was used instead.")):Object(i.b)(r.type===t,37)}},v8cg:function(e,t,r){!function(e){"use strict";var t=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)n[i]=o[a];return n},r=function(){function e(e){var t=e.debug,r=void 0!==t&&t;this.debug=r,this.lines=[]}return e.prototype.emit=function(r,n){if(r in console){var i=e.prefix;console[r].apply(console,t([i],n))}},e.prototype.tailLogs=function(){var e=this;
1this.lines.forEach((function(t){var r=t[0],n=t[1];return e.emit(r,n)}))},e.prototype.getLogs=function(){return this.lines},e.prototype.write=function(r,n){var i=e.buffer;this.lines=t(this.lines.slice(1-i),[[r,n]]),(this.debug||"log"!==r)&&this.emit(r,n)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("log",e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("warn",e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("error",e)},e.buffer=30,e.prefix="[apollo-cache-persist]",e}(),n=function(){function e(e){var t=e.cache,r=e.serialize,n=void 0===r||r;this.cache=t,this.serialize=n}return e.prototype.extract=function(){var e=this.cache.extract();return this.serialize&&(e=JSON.stringify(e)),e},e.prototype.restore=function(e){this.serialize&&"string"===typeof e&&(e=JSON.parse(e)),null!=e&&this.cache.restore(e)},e}(),i=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{c(n.next(e))}catch(t){o(t)}}function s(e){try{c(n.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},o=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},a=function(){function e(e){var t=e.storage,r=e.key,n=void 0===r?"apollo-cache-persist":r;this.storage=t,this.key=n}return e.prototype.read=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){return[2,this.storage.getItem(this.key)]}))}))},e.prototype.write=function(e){return i(this,void 0,void 0,(function(){return o(this,(function(t){switch(t.label){case 0:return[4,this.storage.setItem(this.key,e)];case 1:return t.sent(),[2]}}))}))},e.prototype.purge=function(){return i(this,void 0,void 0,(function(){return o(this,(function(e){switch(e.label){case 0:return[4,this.storage.removeItem(this.key)];case 1:return e.sent(),[2]}}))}))},e.prototype.getSize=function(){return i(this,void 0,void 0,(function(){var e;return o(this,(function(t){switch(t.label){case 0:return[4,this.storage.getItem(this.key)];case 1:return null==(e=t.sent())?[2,0]:[2,"string"===typeof e?e.length:null]}}))}))},e}(),s=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{c(n.next(e))}catch(t){o(t)}}function s(e){try{c(n.throw(e))}catch(t){o(t)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))},c=function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"===typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(s){o=[6,s],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}},u=function(){function e(e,t){var r=e.log,n=e.cache,i=e.storage,o=t.maxSize,a=void 0===o?1048576:o,s=t.persistenceMapper;this.log=r,this.cache=n,this.storage=i,this.paused=!1,s&&(this.persistenceMapper=s),a&&(this.maxSize=a)}return e.prototype.persist=function(){return s(this,void 0,void 0,(function(){var e,t;return c(this,(function(r){switch(r.label){case 0:return r.trys.push([0,6,,7]),e=this.cache.extract(),this.paused||!this.persistenceMapper?[3,2]:[4,this.persistenceMapper(e)];case 1:e=r.sent(),r.label=2;case 2:return null!=this.maxSize&&"string"===typeof e&&e.length>this.maxSize&&!this.paused?[4,this.purge()]:[3,4];case 3:return r.sent(),this.paused=!0,[2];case 4:return this.paused?[2]:[4,this.storage.write(e)];case 5:return r.sent(),this.log.info("string"===typeof e?"Persisted cache of size "+e.length+" characters":"Persisted cache"),[3,7];case 6:throw t=r.sent(),this.log.error("Error persisting cache",t),t;case 7:return[2]}}
1))}))},e.prototype.restore=function(){return s(this,void 0,void 0,(function(){var e,t;return c(this,(function(r){switch(r.label){case 0:return r.trys.push([0,5,,6]),[4,this.storage.read()];case 1:return null==(e=r.sent())?[3,3]:[4,this.cache.restore(e)];case 2:return r.sent(),this.log.info("string"===typeof e?"Restored cache of size "+e.length+" characters":"Restored cache"),[3,4];case 3:this.log.info("No stored cache to restore"),r.label=4;case 4:return[3,6];case 5:throw t=r.sent(),this.log.error("Error restoring cache",t),t;case 6:return[2]}}))}))},e.prototype.purge=function(){return s(this,void 0,void 0,(function(){var e;return c(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.storage.purge()];case 1:return t.sent(),this.log.info("Purged cache storage"),[3,3];case 2:throw e=t.sent(),this.log.error("Error purging cache storage",e),e;case 3:return[2]}}))}))},e}(),l=function(e){var t=e.cache;return function(e){var r=t.write,n=t.evict,i=t.modify;return t.write=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=r.apply(t,n);return e(),o},t.evict=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var o=n.apply(t,r);return e(),o},t.modify=function(){for(var r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];var o=i.apply(t,r);return e(),o},function(){t.write=r,t.evict=n,t.modify=i}}},f=function(){function e(t,r){var n=this,i=t.log,o=t.persistor;this.fire=function(){n.debounce?(null!=n.timeout&&clearTimeout(n.timeout),n.timeout=setTimeout(n.persist,n.debounce)):n.persist()},this.persist=function(){n.paused||n.persistor.persist()};var a=e.defaultDebounce,s=r.cache,c=r.debounce,u=r.trigger,f=void 0===u?"write":u;if(f)switch(this.debounce=null!=c?c:a,this.persistor=o,this.paused=!1,f){case"write":this.uninstall=l({cache:s})(this.fire);break;case"background":c&&i.warn("Debounce is not recommended with `background` trigger"),this.debounce=c,this.uninstall=function(e){var t=e.log,r=e.cache;return function(e){return t.warn("Trigger option `background` not available on web; using `write` trigger"),l({cache:r})(e)}}({cache:s,log:i})(this.fire);break;default:if("function"!==typeof f)throw Error("Unrecognized trigger option: "+f);this.uninstall=f(this.fire)}}return e.prototype.pause=function(){this.paused=!0},e.prototype.resume=function(){this.paused=!1},e.prototype.remove=function(){this.uninstall&&(this.uninstall(),this.uninstall=null,this.paused=!0)},e.defaultDebounce=1e3,e}(),p=function(){function e(e){if(!e.cache)throw new Error("In order to persist your Apollo Cache, you need to pass in a cache. Please see https://www.apollographql.com/docs/react/basics/caching.html for our default InMemoryCache.");if(!e.storage)throw new Error("In order to persist your Apollo Cache, you need to pass in an underlying storage provider. Please see https://github.com/apollographql/apollo-cache-persist#storage-providers");var t=new r(e),i=new n(e),o=new a(e),s=new u({log:t,cache:i,storage:o},e),c=new f({log:t,persistor:s},e);this.log=t,this.cache=i,this.storage=o,this.persistor=s,this.trigger=c}return e.prototype.persist=function(){return this.persistor.persist()},e.prototype.restore=function(){return this.persistor.restore()},e.prototype.purge=function(){return this.persistor.purge()},e.prototype.pause=function(){this.trigger.pause()},e.prototype.resume=function(){this.trigger.resume()},e.prototype.remove=function(){this.trigger.remove()},e.prototype.getLogs=function(e){if(void 0===e&&(e=!1),!e)return this.log.getLogs();this.log.tailLogs()},e.prototype.getSize=function(){return this.storage.getSize()},e}(),d=function(){var e=function(t,r){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),h=function(e){function t(t){var r=e.call(this,t)||this;return r.storage=new y(t),r.persistor=new v({log:r.log,cache:r.cache,storage:r.storage},t),r}return d(t,e),t.prototype.restoreSync=function(){this.persistor.restoreSync()},t}(p),v=function(e){function t(t,r){var n=t.log,i=t.cache,o=t.storage;return e.call(this,{log:n,cache:i,storage:o},r)||this}return d(t,e),t.prototype.restoreSync=function(){this.cache.restore(this.storage.readSync())},t}(u),y=function(e){function t(t){return e.call(this,t)||this}return d(t,e),t.prototype.readSync=function(){return this.storage.getItem(this.key)},t}(a),b=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return this.storage.setItem(e,t)},e}(),m=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.get(e)},e.prototype.removeItem=function(e){return this.storage.remove(e)},e.prototype.setItem=function(e,t){return this.storage.set(e,t)},e}(),g=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){var r=this;return new Promise((function(n,i){r.storage.setItem(e,t).then((function(){return n()})).catch((function(){return i()}))}))},e}(),O=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return null!==t?this.storage.setItem(e,t):this.removeItem(e)},e}(),j=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)||null},e.prototype.removeItem=function(e){var t=this;return new Promise((function(r,n){Promise.resolve(t.storage.removeItem(e)).then((function(){return r()})).catch((function(){return n()}))}))},e.prototype.setItem=function(e,t){var r=this;return new Promise((function(n,i){r.storage.setItem(e,t).then((function(){return n()})).catch((function(){return i()}))}))},e}(),w=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getString(e)||null},e.prototype.removeItem=function(e){return this.storage.delete(e)},e.prototype.setItem=function(e,t){return null!==t?this.storage.set(e,t):this.removeItem(e)},e}(),_=function(){function e(e){this.storage=e}return e.prototype.getItem=function(e){return this.storage.getItem(e)},e.prototype.removeItem=function(e){return this.storage.removeItem(e)},e.prototype.setItem=function(e,t){return null!==t?this.storage.setItem(e,t):this.removeItem(e)},e}();e.AsyncStorageWrapper=b,e.CachePersistor=p,e.IonicStorageWrapper=m,e.LocalForageWrapper=g,e.LocalStorageWrapper=O,e.MMKVStorageWrapper=j,e.MMKVWrapper=w,e.SessionStorageWrapper=_,e.SynchronousCachePersistor=h,e.SynchronousPersistor=v,e.SynchronousStorage=y,e.persistCache=function(e){return new p(e).restore(
1)},e.persistCacheSync=function(e){new h(e).restoreSync()},Object.defineProperty(e,"__esModule",{value:!0})}(t)},vM4E:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("gaSd"),i=r("VBdi"),o=r("cm/O");function a(e){var t=Object(i.useContext)(Object(o.a)()),r=e||t.client;return __DEV__?Object(n.b)(!!r,'Could not find "client" in the context or passed in as an option. Wrap the root component in an <ApolloProvider>, or pass an ApolloClient instance in via options.'):Object(n.b)(!!r,32),r}},vq03:function(e,t,r){"use strict";(function(e){var n=r("0nBV");t.a=Object(n.a)((function(){return globalThis}))||Object(n.a)((function(){return window}))||Object(n.a)((function(){return self}))||Object(n.a)((function(){return e}))||Object(n.a)((function(){return n.a.constructor("return this")()}))}).call(this,r("Uwcf"))},wEys:function(e,t,r){"use strict";var n="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;t.a=n},x8gX:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("Z5oE"),i=r("KGRH"),o=r("Y2lC");function a(e){return new i.a((function(t,r){var i=Object(n.e)(t,[]);return new o.a((function(n){var o,a=!1;return Promise.resolve(i).then((function(r){return e(r,t.getContext())})).then(t.setContext).then((function(){a||(o=r(t).subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}))})).catch(n.error.bind(n)),function(){a=!0,o&&o.unsubscribe()}}))}))}},y7UF:function(e,t,r){"use strict";r.d(t,"h",(function(){return a})),r.d(t,"g",(function(){return s})),r.d(t,"d",(function(){return c})),r.d(t,"k",(function(){return u})),r.d(t,"j",(function(){return l})),r.d(t,"b",(function(){return p})),r.d(t,"a",(function(){return v})),r.d(t,"i",(function(){return y})),r.d(t,"c",(function(){return b})),r.d(t,"e",(function(){return m})),r.d(t,"f",(function(){return g}));var n=r("gaSd"),i=r("gILc"),o=r("c2Zp");function a(e){return{__ref:String(e)}}function s(e){return Boolean(e&&"object"===typeof e&&"string"===typeof e.__ref)}function c(e){return Object(i.a)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}
1function u(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return u(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(i||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return u(r,t,e,i),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw __DEV__?new n.a('The inline argument "'.concat(t.value,'" of kind "').concat(r.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new n.a(55);e[t.value]=null}}function l(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.
1name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return u(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return u(n,r,i,t)}))),p(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export"],p=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(d(i),")")}return r.connection.key}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach((function(e){-1===f.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(d(r[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 Object(i.a)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return u(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function b(e,t,r){if("string"===typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n<i.length;n++){var a=i[n];if(m(a)){if("__typename"===a.name.value)return e[y(a)]}else{var s=b(e,Object(o.b)(a,r).selectionSet,r);if("string"===typeof s)return s}}}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},zx38:function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r("Z5oE"),i=r("Y2lC"),o=r("KGRH");function a(e){return new o.a((function(t,r){return new i.a((function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(i)},error:function(i){(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:r}))?o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(s){e({networkError:s,operation:t,forward:r}),n.error(s)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}}))}))}!function(e){function t(t){var r=e.call(this)||this;return r.link=a(t),r}Object(n.c)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.a)}}]);
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.