PageSourceSearch

https://www.baldershage.se/static/js/apollo.6.2.8.vendor.js

js baldershage.se collected 2026-09-26 05:59:20 UTC 149,383 bytes, 1 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[629],{SUdN:(e,t,r)=>{r.d(t,{R:()=>a});var n=r("Kd85"),i=r("zjIF"),o=r("mEmp"),a=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.re)(o.Yk)}return e.prototype.batch=function(e){var t,r=this,n="string"===typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.pi)((0,n.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n._T)(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=(0,n._T)(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((0,n.pi)((0,n.pi)({},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((0,n.pi)((0,n.pi)({},e),{data:o})),o)}})},e}()},PdSS:(e,t,r)=>{r.d(t,{y:()=>i});var n=r("Kd85"),i=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 u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.ZT)(t,e),t}(Error)},o2I4:(e,t,r)=>{r.d(t,{$O:()=>b,E_:()=>g,Is:()=>S,RC:()=>k,RI:()=>f,ig:()=>O,j:()=>w,jS:()=>v,jp:()=>m,lg:()=>y,uG:()=>h});var n=r("9/P9"),i=r("nTfx"),o=r("+R6J"),a=r("saix"),s=r("UUY2"),u=r("2s7T"),c=r("mEmp"),l=r("0JV9"),f=Object.prototype.hasOwnProperty;function p(e){return null===e||void 0===e}function h(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 d={dataIdFromObject:h,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,n.o)(d,e)}function y(e){var t=e.canonizeResults;return void 0===t?d.canonizeResults:t}function m(e,t){return(0,i.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var b=/^[_a-z][_0-9a-z]*/i;function g(e){var t=e.match(b);return t?t[0]:e}function k(e,t,r){return!!(0,o.s)(t)&&((0,a.k)(t)?t.every((function(t){return k(e,t,r)})):e.selections.every((function(e){if((0,i.My)(e)&&(0,s.LZ)(e,r)){var n=(0,i.u2)(e);return f.call(t,n)&&(!e.selectionSet||k(e.selectionSet,t[n],r))}return!0})))}function w(e){return(0,o.s)(e)&&!(0,i.Yk)(e)&&!(0,a.k)(e)}function O(){return new u.w0}function S(e,t){var r=(0,c.F)((0,l.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},sOoh:(e,t,r)=>{r.d(t,{h:()=>ye});var n=r("Kd85"),i=r("cduE"),o=r("zjIF"),a=r("Sx5g"),s=r("SUdN"),u=r("PdSS"),c=r("xdaU"),l=r("raUi"),f=r("nTfx"),p=r("Pe/a"),h=r("kW4c"),d=r("9/P9"),v=r("0JV9"),y=r("2s7T"),m=r("UUY2"),b=r("mEmp"),g=r("9OMS"),k=r("+R6J"),w=r("yIuK"),O=r("o2I4");function S(e){return S="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},S(e)}var _=Object.create(null),E=function(){return _},R=Object.create(null),D=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,g.J)((0,f.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,f.Yk)(e)?r.has(e.__ref):"object"===S(e)},this.toReference=function(e,t){if("string"===typeof e)return(0,f.kQ)(e);if((0,f.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,f.kQ)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.pi)({},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),O.RI.call(this.data,e)){var r=this.data[e];if(r&&O.RI.call(r,t))return r[t]}return"__typename"===t&&O.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof Q?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),O.RI.call(this.data,e)?this.data[e]:this instanceof Q?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,f.Yk)(e)&&(e=e.__ref),(0,f.Yk)(t)&&(t=t.__ref);
1var o="string"===typeof e?this.lookup(r=e):e,a="string"===typeof t?this.lookup(r=t):t;if(a){(0,i.kG)("string"===typeof r,1);var s=new y.w0(q).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach((function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=(0,O.E_)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof Q||delete s[e]}})),!u.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete u.__typename,Object.keys(u).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,u={DELETE:_,INVALIDATE:R,isReference:f.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"===typeof t?{fieldName:t,from:n||(0,f.kQ)(e)}:t,{store:r})}};if(Object.keys(i).forEach((function(c){var l=(0,O.E_)(c),f=i[c];if(void 0!==f){var p="function"===typeof t?t:t[c]||t[l];if(p){var h=p===E?_:p((0,g.J)(f),(0,n.pi)((0,n.pi)({},u),{fieldName:l,storeFieldName:c,storage:r.getStorage(e,c)}));h===R?r.group.dirty(e,c):(h===_&&(h=void 0),h!==f&&(o[c]=h,a=!0,f=h))}void 0!==f&&(s=!1)}})),a)return this.merge(e,o),s&&(this instanceof Q?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]=E,n):E)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(O.RI.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof Q&&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){O.RI.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&&O.RI.call(e,r)||t.delete(r)})),e){var r=e.__META,i=(0,n._T)(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 Q?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){O.RI.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 Q;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!O.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,f.Yk)(e)&&(t[e.__ref]=!0),(0,k.s)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,k.s)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),P=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.dP)():null,this.keyMaker=new w.B(h.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(T(e,t));var r=(0,O.E_)(t);r!==t&&this.d(T(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(T(e,t),"__exists"===t?"forget":"setDirty")},e}();function T(e,t){return t+"#"+e}function x(e,t){F(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 P(i))||this;return a.stump=new I(a),a.storageTrie=new w.B(h.mr),o&&a.replace(o),a}return(0,n.ZT)(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}(D||(D={}));var Q=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(0,n.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,a.D)(n[r],i[r])||t.group.dirty(e,r)}
1)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.pi)((0,n.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return O.RI.call(this.data,t)?(0,n.pi)((0,n.pi)({},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}(D),I=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new P(t.group.caching,t.group))||this}return(0,n.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(Q);function q(e,t,r){var n=e[r],i=t[r];return(0,a.D)(n,i)?n:i}function F(e){return!!(e instanceof D&&e.group.caching)}var C=r("saix"),j=r("EmAC");function M(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var N=function(){function e(e){var t=this;this.knownResults=new(h.mr?WeakMap:Map),this.config=(0,d.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,O.lg)(e)}),this.canon=e.canon||new j.h,this.executeSelectionSet=(0,o.re)((function(e){var r,i=e.context.canonizeResults,o=M(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.pi)((0,n.pi)({},a),{result:t.canon.admit(a.result)}):a:(x(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:M,makeCacheKey:function(e,t,r,n){if(F(r.store))return r.store.makeCacheKey(e,(0,f.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.re)((function(e){return x(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(F(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new j.h},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,l=e.canonizeResults,p=void 0===l?this.config.canonizeResults:l,h=this.config.cache.policies;a=(0,n.pi)((0,n.pi)({},(0,v.O4)((0,v.iW)(r))),a);var d,y=(0,f.kQ)(o),m=this.executeSelectionSet({selectionSet:(0,v.p$)(r).selectionSet,objectOrReference:y,enclosingRef:y,context:(0,n.pi)({store:t,query:r,policies:h,variables:a,varString:(0,j.B)(a),canonizeResults:p},(0,O.Is)(r,this.config.fragments))});if(m.missing&&(d=[new u.y(A(m.missing),m.missing,r,a)],!c))throw d[0];return{result:m.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,r,n){if(F(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((0,f.Yk)(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 s,u=a.variables,c=a.policies,h=a.store.getFieldValue(n,"__typename"),d=[],v=new y.w0;function k(e,t){var r;return e.missing&&(s=v.merge(s,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"===typeof h&&!c.rootIdsByTypename[h]&&d.push({__typename:h});var w=new Set(r.selections);w.forEach((function(e){var r,y;if((0,m.LZ)(e,u))if((0,f.My)(e)){var g=c.readField({fieldName:e.name.value,field:e,variables:a.variables,from:n},a),O=(0,f.u2)(e);void 0===g?l.Gw.added(e)||(s=v.merge(s,((r={})[O]="Can't find field '".concat(e.name.value,"' on ").concat((0,f.Yk)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,C.k)(g)?g=k(t.executeSubSelectedArray({field:e,array:g,enclosingRef:o,context:a}),O):e.selectionSet?null!=g&&(g=k(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,f.Yk)(g)?g:o,context:a}),O)):a.canonizeResults&&(g=t.canon.pass(g)),void 0!==g&&d.push(((y={})[O]=g,y))}else{var S=(0,b.hi)(e,a.lookupFragment);if(!S&&e.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(7,e.name.value);S&&c.fragmentMatches(S,h)&&S.selectionSet.selections.forEach(w.add,w)}}));var O={result:(0,y.bw)(d),missing:s},S=a.canonizeResults?this.canon.admit(O):(0,g.J)(O);return S.result&&this.knownResults.set(S.result,r),S},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new y.w0;function c(e,r){var n;return e.missing&&(t=u.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:(0,C.k)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,f.Yk)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);
1n.forEach((function(r){(0,k.s)(r)&&((0,i.kG)(!(0,f.Yk)(r),8,(0,O.jp)(e,r),t.name.value),Object.values(r).forEach(n.add,n))}))}}(s.store,n,e),e)})),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function A(e){try{JSON.stringify(e,(function(e,t){if("string"===typeof t)throw t;return t}))}catch(t){return t}}var L=r("sZ5x"),V=r("1Y9H"),G=r("opSR"),U=Object.create(null);function W(e){var t=JSON.stringify(e);return U[t]||(U[t]=Object.create(null))}function z(e){var t=W(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=B(e,(function(e){var o=H(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&O.RI.call(t,e[0])&&(o=H(t,e,Y)),(0,i.kG)(void 0!==o,2,e.join("."),t),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function K(e){var t=W(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=B(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&&O.RI.call(i,a)){var s=e.slice(0);return s[0]=a,H(i,s)}}else if(n&&(0,C.O)(n.directives)){var u=r.slice(1),c=n.directives.find((function(e){return e.name.value===u})),l=c&&(0,f.NC)(c,i);return l&&H(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function B(e,t){var r=new y.w0;return J(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){var t=W(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){(0,C.k)(t)?(J(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,C.k)(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function Y(e,t){return e[t]}function H(e,t,r){return r=r||Y,Z(t.reduce((function e(t,n){return(0,C.k)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function Z(e){return(0,k.s)(e)?(0,C.k)(e)?e.map(Z):B(Object.keys(e).sort(),(function(t){return H(e,t)})):e}function $(e){return void 0!==e.args?e.args:e.field?(0,f.NC)(e.field,e.variables):null}f.PT.setStringify(j.B);var X=function(){},ee=function(e,t){return t.fieldName},te=function(e,t,r){return(0,r.mergeObjects)(e,t)},re=function(e,t){return t},ne=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.pi)({dataIdFromObject:O.uG},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var 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,u=(0,n.pi)((0,n.pi)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=oe(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;l;){var f=l((0,n.pi)((0,n.pi)({},e),s),u);if(!(0,C.k)(f)){a=f;break}l=z(f)}return a=a?String(a):void 0,u.keyObject?[a,u.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,u=(0,n._T)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),O.RI.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?te:!1===t?re:e.merge}a(n,t.merge),n.keyFn=!1===i?X:(0,C.k)(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,u=i.read,c=i.merge;n.keyFn=!1===s?ee:(0,C.k)(s)?K(s):"function"===typeof s?s:n.keyFn,"function"===typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||ee)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.kG)(!n||n===e,3,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(O.$O);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!O.RI.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,a=(0,n._T)(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),u=[s],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},l=!(!r||!this.fuzzySubtypes.size),f=!1,p=0;p<u.length;++p){var h=u[p];if(h.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.kG.warn(4,t,a),s.add(a)),!0;h.forEach(c),l&&p===u.length-1&&(0,O.RC)(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach((function(e,r){var n=t.match(e);n&&n[0]===t&&c(r)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=$(e);o;){var u=o(s,a);if(!(0,C.k)(u)){t=u||n;break}o=K(u)}return void 0===t&&(t=e.field?(0,f.vf)(e.field,e.variables):(0,f.PT)(n,$(e))),!1===t?n:n===(0,O.E_)(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=(0,O.E_)(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=ie(this,r,e,t,t.store.getStorage((0,f.Yk)(r)?r.__ref:r,i));return G.ab.withValue(this.cache,u,[a,c])}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===te?ae(n.store)(e,t):s===re?t:(n.overwrite&&(e=void 0),s(e,t,ie(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ie(e,t,r,n,i){var o=e.getStoreFieldName(r),a=(0,O.E_)(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:$(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:f.Yk,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(oe(arguments,t,s),n)},mergeObjects:ae(n.store)}}function oe(e,t,r){var o,a=e[0],s=e[1],u=e.length;return"string"===typeof a?o={fieldName:a,from:u>1?s:t}:(o=(0,n.pi)({},a),O.RI.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.kG.warn(5,(0,V.v)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function ae(e){return function(t,r){if((0,C.k)(t)||(0,C.k)(r))throw(0,i._K)(6);if((0,k.s)(t)&&(0,k.s)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,f.Yk)(t)&&(0,O.j)(r))return e.merge(t.__ref,r),t;if((0,O.j)(t)&&(0,f.Yk)(r))return e.merge(t,r.__ref),r;if((0,O.j)(t)&&(0,O.j)(r))return(0,n.pi)((0,n.pi)({},t),r)}return r}}function se(e){return se="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},se(e)}function ue(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:(0,n.pi)((0,n.pi)({},e),{clientOnly:t,deferred:r})),o}var ce=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,u=t.dataId,c=t.variables,l=t.overwrite,p=(0,v.$H)(o),h=(0,O.ig)();c=(0,n.pi)((0,n.pi)({},(0,v.O4)(p)),c);var d=(0,n.pi)((0,n.pi)({store:e,written:Object.create(null),merge:function(e,t){return h.merge(e,t)},variables:c,varString:(0,j.B)(c)},(0,O.Is)(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,f.Yk)(y))throw(0,i._K)(9,s);
1return d.incomingById.forEach((function(t,n){var o=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,c=(0,f.kQ)(n);if(s&&s.map.size){var l=r.applyMerges(s,c,o,d);if((0,f.Yk)(l))return;o=l}if(!1!==globalThis.__DEV__&&!d.overwrite){var p=Object.create(null);u.forEach((function(e){e.selectionSet&&(p[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===p[(0,O.E_)(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"===se(t)&&t},s=o(e);if(!s)return;var u=o(t);if(!u)return;if((0,f.Yk)(s))return;if((0,a.D)(s,u))return;if(Object.keys(s).every((function(e){return void 0!==n.getFieldValue(u,e)})))return;var c=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),l=(0,O.E_)(r),p="".concat(c,".").concat(l);if(ve.has(p))return;ve.add(p);var h=[];(0,C.k)(s)||(0,C.k)(u)||[s,u].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!==typeof t||h.includes(t)||h.push(t)}));!1!==globalThis.__DEV__&&i.kG.warn(12,l,c,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,s,u)}(c,o,e,d.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,u=e.mergeTree,c=this.cache.policies,p=Object.create(null),h=r&&c.rootTypenamesById[r]||(0,f.qw)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"===typeof h&&(p.__typename=h);var d=function(){var e=oe(arguments,p,s.variables);if((0,f.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.pi)((0,n.pi)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},v=new Set;this.flattenFields(a,o,s,h).forEach((function(e,r){var n,a=(0,f.u2)(r),s=o[a];if(v.add(r),void 0!==s){var y=c.getStoreFieldName({typename:h,fieldName:r.name.value,field:r,variables:e.variables}),m=fe(u,y),b=t.processFieldValue(s,r,r.selectionSet?ue(e,!1,!1):e,m),g=void 0;r.selectionSet&&((0,f.Yk)(b)||(0,O.j)(b))&&(g=d("__typename",b));var k=c.getMergeFunction(h,r.name.value,g);k?m.info={field:r,typename:h,merge:k}:de(u,y),p=e.merge(p,((n={})[y]=b,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.Gw.added(r)||c.getReadFunction(h,r.name.value)||!1!==globalThis.__DEV__&&i.kG.error(10,(0,f.u2)(r),o)}));try{var y=c.identify(o,{typename:h,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:p,readField:d}),m=y[0],b=y[1];r=r||m,b&&(p=s.merge(p,b))}catch(S){if(!r)throw S}if("string"===typeof r){var g=(0,f.kQ)(r),k=s.written[r]||(s.written[r]=[]);if(k.indexOf(a)>=0)return g;if(k.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=pe(w.mergeTree,u),v.forEach((function(e){return w.fieldNodeSet.add(e)}))):s.incomingById.set(r,{storeObject:p,mergeTree:he(u)?void 0:u,fieldNodeSet:v}),g}return p},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,C.k)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,r,fe(n,o));return de(n,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,L.X)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,f.qw)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,s=new w.B(!1);return function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach((function(s){if((0,m.LZ)(s,r.variables)){var u=c.clientOnly,l=c.deferred;if(u&&l||!(0,C.O)(s.directives)||s.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,f.NC)(e,r.variables);n&&!1===n.if||(l=!0)}})),(0,f.My)(s)){var h=o.get(s);h&&(u=u&&h.clientOnly,l=l&&h.deferred),o.set(s,ue(r,u,l))}else{var d=(0,b.hi)(s,r.lookupFragment);if(!d&&s.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(11,s.name.value);d&&a.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,ue(r,u,l))}}})))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s,u=this;if(e.map.size&&!(0,f.Yk)(r)){var c,l=(0,C.k)(r)||!(0,f.Yk)(t)&&!(0,O.j)(t)?void 0:t,p=r;l&&!a&&(a=[(0,f.Yk)(l)?l.__ref:l]);var h=function(e,t){return(0,C.k)(e)?"number"===typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach((function(e,t){var r=h(l,t),n=h(p,t);if(void 0!==n){a&&a.push(t);var s=u.applyMerges(e,r,n,o,a);s!==n&&(c=c||new Map).set(t,s),a&&(0,i.kG)(a.pop()===t)}})),c&&(r=(0,C.k)(p)?p.slice(0):(0,n.pi)({},p),c.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}(),le=[];function fe(e,t){var r=e.map;return r.has(t)||r.set(t,le.pop()||{map:new Map}),r.get(t)}function pe(e,t){if(e===t||!t||he(t))return e;if(!e||he(e))return t;var r=e.info&&t.info?(0,n.pi)((0,n.pi)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var a=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,pe(e,t.map.get(r))),a.delete(r)})),a.forEach((function(r){o.map.set(r,pe(t.map.get(r),e.map.get(r)))}))}return o}function he(e){return!e||!(e.info||e.map.size)}function de(e,t){var r=e.map,n=r.get(t);n&&he(n)&&(le.push(n),r.delete(t))}var ve=new Set;var ye=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new c.A(l.Gw),r.assumeImmutableResults=!0,r.makeVar=G.QS,r.txCount=0,r.config=(0,O.jS)(t),r.addTypename=!!r.config.addTypename,r.policies=new ne({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.ZT)(t,e),t.prototype.init=function(){var e=this.data=new D.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 ce(this,this.storeReader=new N({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,O.lg)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.re)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(F(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,j.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((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(i){if(i instanceof u.y)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(O.RI.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.pi)((0,n.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,G._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,G.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){j.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,f.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&i.kG.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(O.RI.call(e,"id"))return!1;e=(0,n.pi)((0,n.pi)({},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(),j.B.reset(),e&&e.discardWatches?(this.watches.forEac
1h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,G.li)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=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 u&&!this.txCount&&this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"===typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"===typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.pi)((0,n.pi)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"===typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,a.D)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(s.R)},EmAC:(e,t,r)=>{r.d(t,{B:()=>f,h:()=>l});var n=r("Kd85"),i=r("yIuK"),o=r("+R6J"),a=r("kW4c"),s=r("saix");var u,c,l=function(){function e(){this.known=new(a.sy?WeakSet:Set),this.pool=new i.B(a.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.s)(e)){var t=function(e){return(0,o.s)(e)?(0,s.k)(e)?e.slice(0):(0,n.pi)({__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((0,o.s)(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(u=this.pool.lookupArray(n)).array||(this.known.add(u.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),u.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 u,c=a.length;if(s.sorted.forEach((function(r){a.push(t.admit(e[r]))})),!(u=this.pool.lookupArray(a)).object){var l=u.object=Object.create(i);this.known.add(l),s.sorted.forEach((function(e,t){l[e]=a[c+t]})),!1!==globalThis.__DEV__&&Object.freeze(l)}return u.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((0,o.s)(e)){void 0===u&&p();var t=u.admit(e),r=c.get(t);return void 0===r&&c.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:p});function p(){u=new l,c=new(a.mr?WeakMap:Map)}},opSR:(e,t,r)=>{r.d(t,{QS:()=>c,_v:()=>u,ab:()=>i,li:()=>s});var n=r("zjIF"),i=new(r("OQ3x").g7),o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.dP)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function u(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function c(e){var t=new Set,r=new Set,n=function n(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var u=Array.from(r);r.clear(),u.forEach((function(t){return t(e)}))}}else{var c=i.getValue();c&&(o(c),a(c).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}},jqtK:(e,t,r)=>{r.d(t,{f:()=>Y});var n=r("Kd85"),i=r("cduE"),o=r("p4+f"),a=r("IQND"),s=r("B3mh"),u=r("XOv/"),
1c=r("Sx5g"),l=r("2Iyw"),f=r("UUY2"),p=r("raUi"),h=r("EmAC"),d=r("kW4c"),v=r("xdaU"),y=r("p3vz");function m(e,t,r){return new y.y((function(n){var i=n.next,o=n.error,a=n.complete,s=0,u=!1,c={then:function(e){return new Promise((function(t){return t(e())}))}};function l(e,t){return e?function(t){++s;var r=function(){return e(t)};c=c.then(r,r).then((function(e){--s,i&&i.call(n,e),u&&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(){u=!0,s||a&&a.call(n)}},p=e.subscribe(f);return function(){return p.unsubscribe()}}))}var b=r("saix");function g(e){var t=k(e);return(0,b.O)(t)}function k(e){var t=(0,b.O)(e.errors)?e.errors.slice(0):[];return(0,l.GG)(e)&&(0,b.O)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var w=r("0JV9"),O=r("nTfx"),S=r("+R6J"),_=r("FjDm"),E=r("2neh"),R=r("+S2h");function D(e){return e&&"function"===typeof e.then}var P=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),(0,E.p)(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),(0,E.p)(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?D(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"),(0,E.p)(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 y.y(t)]),D(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.ZT)(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}(y.y);(0,R.D)(P);var T=r("ywPn"),x=r("JA6f"),Q=r("hQQq"),I=r("mHZY"),q=r("PaAU"),F=r("2s7T"),C=r("mEmp"),j=r("opSR"),M=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,F.Ee)(t.resolvers,e)})):this.resolvers=(0,F.Ee)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,n.pi)((0,n.pi)({},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(0,f.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,p.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},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={}),(0,n.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,I.Vn)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return I.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,p.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,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),(0,n.mG)(this,void 0,void 0,(function(){var s,u,c,l,f,p,h,d,v,y;return(0,n.Jh)(this,(function(m){return s=(0,w.p$)(e),u=(0,w.kU)(e),c=(0,C.F)(u),l=this.collectSelectionsToResolve(s,c),f=s.operation,p=f?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=(h=this).cache,v=h.client,y={fragmentMap:c,context:(0,n.pi)((0,n.pi)({},r),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},!1,[2,this.resolveSelectionSet(s.selectionSet,false,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.mG)(this,void 0,void 0,(function(){var a,s,u,c,l,p=this;return(0,n.Jh)(this,(function(h){return a=o.fragmentMap,s=o.context,u=o.variables,c=[r],l=function(e){return(0,n.mG)(p,void 0,void 0,(function(){var l,p;return(0,n.Jh)(this,(function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.LZ)(e,u)?(0,O.My)(e)?[2,this.resolveField(e,t,r,o).then((function(t){var r;"undefined"!==typeof t&&c.push(((r={}
1)[(0,O.u2)(e)]=t,r))}))]:((0,O.Ao)(e)?l=e:(l=a[e.name.value],(0,i.kG)(l,16,e.name.value)),l&&l.typeCondition&&(p=l.typeCondition.name.value,o.fragmentMatcher(r,p,s))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,F.bw)(c)}))]}))}))},e.prototype.resolveField=function(e,t,r,i){return(0,n.mG)(this,void 0,void 0,(function(){var o,a,s,u,c,l,f,p,h,d=this;return(0,n.Jh)(this,(function(n){return r?(o=i.variables,a=e.name.value,s=(0,O.u2)(e),u=a!==s,c=r[s]||r[a],l=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(h=p[u?a:s])&&(l=Promise.resolve(j.ab.withValue(this.cache,h,[r,(0,O.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(r){var n,o;if(void 0===r&&(r=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)}))}
1)),!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)?d.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?d.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),(0,I.Vn)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&(0,q.pO)(e)&&a.add(e)}))},FragmentSpread:function(n,o,s,u,c){var l=t[n.name.value];(0,i.kG)(l,17,n.name.value);var f=e(l);f.size>0&&(c.forEach((function(e){r(e)&&(0,q.pO)(e)&&a.add(e)})),a.add(n),f.forEach((function(e){a.add(e)})))}})}return n.get(o)}(e)},e}(),N=new(d.mr?WeakMap:Map);function A(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return N.set(e,(N.get(e)+1)%1e15),r.apply(this,arguments)})}function L(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var V=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;N.has(r)||(N.set(r,0),A(r,"evict"),A(r,"modify"),A(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||Q.Ie.loading;return this.variables&&this.networkStatus!==Q.Ie.loading&&!(0,c.D)(this.variables,e.variables)&&(t=Q.Ie.setVariables),(0,c.D)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){L(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,c.D)(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||(0,c.D)(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():(0,x.vj)(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;L(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,Q.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.pi)((0,n.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,c.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===N.get(this.cache)&&(0,c.D)(t,r.variables)&&(0,c.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new F.w0,a=(0,b.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,b.O)(e.incremental)){var s=(0,l.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(G(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:N.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=Q.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=Q.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function G(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!g(e);return!n&&r&&e.data&&(n=!0),n}var U=r("b5RS"),W=Object.prototype.hasOwnProperty,z=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.documentTransform,o=e.queryDeduplication,a=void 0!==o&&o,s=e.onBroadcast,u=e.ssrMode,c=void 0!==u&&u,l=e.clientAwareness,f=void 0===l?{}:l,p=e.localState,h=e.assumeImmutableResults,y=void 0===h?!!t.assumeImmutableResults:h,m=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(d.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var b=new v.A((function(e){return m.cache.transformDocument(e)}),{cache:!1});this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=a,this.clientAwareness=f,this.localState=p||new M({cache:t}),this.ssrMode=c,this.assumeImmutableResults=y,this.documentTransform=i?b.concat(i).concat(b):b,(this.onBroadcast=s)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches((0,i._K)(23))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,a=e.variables,s=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,p=void 0!==f&&f,h=e.update,d=e.onQueryUpdated,v=e.fetchPolicy,y=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,b=e.errorPolicy,w=void 0===b?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":b,O=e.keepRootFields,S=e.context;return(0,n.mG)(this,void 0,void 0,(function(){var e,t,r,c;return(0,n.Jh)(this,(function(f){switch(f.label){case 0:return(0,i.kG)(o,24),(0,i.kG)("network-only"===y||"no-cache"===y,25),e=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),t=this.getDocumentInfo(o).hasClientExports,a=this.getVariables(o,a),t?[4,this.localState.addExportedVariables(o,a,S)]:[3,2];case 1:a=f.sent(),f.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:o,variables:a,fetchPolicy:y,errorPolicy:w,context:S,updateQueries:u,update:h,keepRootFields:O}),this.broadcastQueries(),c=this,[2,new Promise((function(t,i){return m(c.getObservableFromLink(o,(0,n.pi)((0,n.pi)({},S),{optimisticResponse:s}),a,!1),(function(t){if(g(t)&&"none"===w)throw new T.cA({graphQLErrors:k(t)});r&&(r.loading=!1,r.error=null);var i=(0,n.pi)({},t);return"function"===typeof l&&(l=l(i)),"ignore"===w&&g(i)&&delete i.errors,c.markMutationResult({mutationId:e,result:i,document:o,variables:a,fetchPolicy:y,errorPolicy:w,context:S,update:h,updateQueries:u,awaitRefetchQueries:p,refetchQueries:l,removeOptimistic:s?e:void 0,onQueryUpdated:d,keepRootFields:O})})).subscribe({next:function(e){c.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),i(t instanceof T.cA?t:new T.cA({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&&G(i,e.errorPolicy)){if((0,l.GG)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.GG)(i)&&(0,b.O)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,l.mT)(s.result,i)),"undefined"!==typeof u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach((function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&W.call(c,s)){var u=c[s],l=r.queries.get(n),f=l.document,p=l.variables,h=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),d=h.result;if(h.complete&&d){var v=u(d,{mutationResult:i,queryName:f&&(0,w.rY)(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,u=!(0,l.M0)(i)||(0,l.GG)(i)&&!i.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,n.pi)((0,n.pi)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var 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((0,n.pi)((0,n.pi)({},t),{result:{data:o}}),e)}catch(a){!1!==globalThis.__DEV__&&i.kG.error(a)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,p.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,w.O4)((0,w.$H)(e)),asQuery:(0,n.pi)((0,n.pi)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.pi)((0,n.pi)({},e),{operation:"query"}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);"undefined"===typeof(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new V(this),i=new x.ue({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,i.kG)(e.query,26),(0,i.kG)("Document"===e.query.kind,27),(0,i.kG)(!e.returnPartialData,28),(0,i.kG)(!e.pollInterval,29),this.fetchQuery(t,(0,n.pi)((0,n.pi)({},e),{query:this.transform(e.query)})).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}
1),this.cancelPendingFetches((0,i._K)(30)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=Q.Ie.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach((function(e){"string"===typeof e?o.set(e,!1):(0,O.JW)(e)?o.set(t.transform(e),!1):(0,S.s)(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=(0,_.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new x.ue({queryManager:t,queryInfo:a,options:(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)})),!1!==globalThis.__DEV__&&o.size&&o.forEach((function(e,t){e||!1!==globalThis.__DEV__&&i.kG.warn("string"===typeof t?31:32,t)})),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),o=this.getVariables(r,o);var u=function(e){return t.getObservableFromLink(r,s,e).map((function(o){"no-cache"!==n&&(G(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=g(o),s=(0,T.ls)(o);if(a||s){var u={};throw a&&(u.graphQLErrors=o.errors),s&&(u.protocolErrors=o.extensions[T.YG]),new T.cA(u)}return o}))};if(this.getDocumentInfo(r).hasClientExports){var c=this.localState.addExportedVariables(r,o,s).then(u);return new y.y((function(e){var t=null;return c.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(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,u=this;void 0===i&&(i=null!==(o=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(e),l=c.serverQuery,f=c.clientQuery;if(l){var p=this.inFlightLinkObservables,d=this.link,v={query:l,variables:r,operationName:(0,w.rY)(l)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=v.context,i){var b=(0,U.S)(l),g=p.get(b)||new Map;p.set(b,g);var k=(0,h.B)(r);if(!(s=g.get(k))){var O=new P([(0,a.h)(d,v)]);g.set(k,s=O),O.beforeNext((function(){g.delete(k)&&g.size<1&&p.delete(b)}))}}else s=new P([(0,a.h)(d,v)])}else s=new P([y.y.of({data:{}})]),t=this.prepareContext(t);return f&&(s=m(s,(function(e){return u.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})}))),s},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),(function(o){var a=k(o),s=a.length>0;if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new T.cA({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:Q.Ie.ready};return s&&"ignore"!==r.errorPolicy&&(u.errors=a,u.networkStatus=Q.Ie.error),u}),(function(t){var r=(0,T.MS)(t)?t:new T.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r){var n=this;void 0===r&&(r=Q.Ie.loading);var i,o,a=t.query,s=this.getVariables(a,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,p=t.errorPolicy,h=void 0===p?c&&c.errorPolicy||"none":p,d=t.returnPartialData,v=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,b=t.context,g=void 0===b?{}:b,k=Object.assign({},t,{query:a,variables:s,fetchPolicy:f,errorPolicy:h,returnPartialData:v,notifyOnNetworkStatusChange:m,context:g}),w=function(e){k.variables=e;var i=n.fetchQueryByPolicy(u,k,r);return"standby"!==k.fetchPolicy&&i.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),i},O=function(){return n.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){O(),setTimeout((function(){return i.cancel(e)}))})),this.getDocumentInfo(k.query).hasClientExports)i=new P(this.localState.addExportedVariables(k.query,k.variables,k.context).then(w).then((function(e){return e.sources}))),o=!0;else{var S=w(k.variables);o=S.fromLink,i=new P(S.sources)}return i.promise.then(O,O),{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?(0,_.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;
1n&&this.getObservableQueries(n).forEach((function(e,r){c.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 V&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach((function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,h=t.notifyOnNetworkStatusChange,d=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var v=function(){return e.getDiff(a)},m=function(t,r){void 0===r&&(r=e.networkStatus||Q.Ie.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,c.D)(s,{})||(0,x.DC)(t.missing);var u=function(e){return y.y.of((0,n.pi)({data:e,loading:(0,Q.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then((function(e){return u(e.data||void 0)})):"none"===l&&r===Q.Ie.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},b="no-cache"===s?0:r===Q.Ie.refetch&&"merge"!==u?1:2,g=function(){return i.getResultsFromLink(e,b,{query:o,variables:a,context:p,fetchPolicy:s,errorPolicy:l})},k=h&&"number"===typeof d&&d!==r&&(0,Q.Oj)(r);switch(s){default:case"cache-first":return(w=v()).complete?{fromLink:!1,sources:[m(w,e.markReady())]}:f||k?{fromLink:!0,sources:[m(w),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var w;return(w=v()).complete||f||k?{fromLink:!0,sources:[m(w),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":return k?{fromLink:!0,sources:[m(v()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return k?{fromLink:!0,sources:[m(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 V(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}(),K=r("1PGl");function B(e){return B="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},B(e)}var J=!1,Y=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i._K)(13);var r=e.uri,n=e.credentials,a=e.headers,c=e.cache,l=e.documentTransform,f=e.ssrMode,p=void 0!==f&&f,h=e.ssrForceFetchDelay,d=void 0===h?0:h,v=e.connectToDevTools,y=void 0===v?"object"===("undefined"===typeof window?"undefined":B(window))&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:v,m=e.queryDeduplication,b=void 0===m||m,g=e.defaultOptions,k=e.assumeImmutableResults,w=void 0===k?c.assumeImmutableResults:k,O=e.resolvers,S=e.typeDefs,_=e.fragmentMatcher,E=e.name,R=e.version,D=e.link;if(D||(D=r?new u.u({uri:r,credentials:n,headers:a}):o.i.empty()),this.link=D,this.cache=c,this.disableNetworkFetches=p||d>0,this.queryDeduplication=b,this.defaultOptions=g||Object.create(null),this.typeDefs=S,d&&setTimeout((function(){return t.disableNetworkFetches=!1}),d),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),y&&"object"===("undefined"===typeof window?"undefined":B(window))&&(window.__APOLLO_CLIENT__=this),!J&&y&&!1!==globalThis.__DEV__&&(J=!0,"undefined"!==typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var P=window.navigator,T=P&&P.userAgent,x=void 0;"string"===typeof T&&(T.indexOf("Chrome/")>-1?x="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":T.indexOf("Firefox/")>-1&&(x="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),x&&!1!==globalThis.__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: %s",x)}this.version=s.i,this.localState=new M({cache:c,client:this,resolvers:O,fragmentMatcher:_}),this.queryManager=new z({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:l,queryDeduplication:b,ssrMode:p,clientAwareness:{name:E,version:R},localState:this.localState,assumeImmutableResults:w,onBroadcast:y?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,K.J)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,K.J)(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,14),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,K.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,a.h)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),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){!1!==globalThis.__DEV__&&i.kG.debug(15,e)})),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}()},JA6f:(e,t,r)=>{r.d(t,{ue:()=>O,DC:()=>E,vj:()=>S});var n=r("Kd85"),i=r("cduE"),o=r("Sx5g"),a=r("hQQq"),s=r("0JV9"),u=r("9/P9"),c=r("sZ5x"),l=r("2neh"),f=r("p3vz"),p=r("+S2h"),h=r("mEmp"),d=r("UUY2"),v=r("nTfx");function y(e,t,r,i){var a=t.data,u=(0,n._T)(t,["data"]),c=r.data,l=(0,n._T)(r,["data"]);return(0,o.Z)(u,l)&&m((0,s.p$)(e).selectionSet,a,c,{fragmentMap:(0,h.F)((0,s.kU)(e)),variables:i})}function m(e,t,r,n){if(t===r)return!0;var i=new Set;return e.selections.every((function(e){if(i.has(e))return!0;if(i.add(e),!(0,d.LZ)(e,n.variables))return!0;if(b(e))return!0;if((0,v.My)(e)){var a=(0,v.u2)(e),s=t&&t[a],u=r&&r[a],c=e.selectionSet;if(!c)return(0,o.Z)(s,u);var l=Array.isArray(s),f=Array.isArray(u);if(l!==f)return!1;if(l&&f){var p=s.length;if(u.length!==p)return!1;for(var y=0;y<p;++y)if(!m(c,s[y],u[y],n))return!1;return!0}return m(c,s,u,n)}var g=(0,h.hi)(e,n.fragmentMap);return g?!!b(g)||m(g.selectionSet,t,r,n):void 0}))}function b(e){return!!e.directives&&e.directives.some(g)}function g(e){return"nonreactive"===e.name.value}var k=Object.assign,w=Object.hasOwnProperty,O=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=_)}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.waitForOwnResult=R(o.fetchPolicy),a.isTornDown=!1;var u=r.defaultOptions.watchQuery,c=(void 0===u?{}:u).fetchPolicy,l=void 0===c?"cache-first":c,f=o.fetchPolicy,p=void 0===f?l:f,h=o.initialFetchPolicy,d=void 0===h?"standby"===p?l:p:h;a.options=(0,n.pi)((0,n.pi)({},o),{initialFetchPolicy:d,fetchPolicy:p}),a.queryId=i.queryId||r.generateQueryId();var v=(0,s.$H)(a.query);return a.queryName=v&&v.name&&v.name.value,a}return(0,n.ZT)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
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||a.Ie.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,a.Oj)(r),networkStatus:r}),s=this.options.fetchPolicy,u=void 0===s?"cache-first":s;if(R(u)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(i.data=c.result),(0,o.D)(i.data,{})&&(i.data=void 0),c.complete?(delete i.partial,!c.complete||i.networkStatus!==a.Ie.loading||"cache-first"!==u&&"cache-only"!==u||(i.networkStatus=a.Ie.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||i.loading||i.data||i.error||E(c.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!y(this.query,this.last.result,e,this.variables):!(0,o.D)(this.last.result,e))||t&&!(0,o.D)(this.last.variables,t))},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.D)(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},u=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===u?u:"no-cache"===u?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&w.call(e,"variables")){var c=(0,s.iW)(this.query),l=c.variableDefinitions;l&&l.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&i.kG.warn(18,e,(null===(t=c.name)||void 0===t?void 0:t.value)||c)}return e&&!(0,o.D)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)((0,n.pi)({},this.options),{query:this.options.query}),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var o=this.queryInfo,s=o.networkStatus;
1o.networkStatus=a.Ie.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set;return this.queryManager.fetchQuery(i,r,a.Ie.fetchMore).then((function(n){return t.queryManager.removeQuery(i),o.networkStatus===a.Ie.fetchMore&&(o.networkStatus=s),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){u.add(e.query)}}),n})).finally((function(){u.has(t.query)||S(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):!1!==globalThis.__DEV__&&i.kG.error(19,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,u.o)(this.options,e||{});k(this.options,t)},t.prototype.setVariables=function(e){return(0,o.D)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.Ie.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){(0,i.kG)(r,20),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,a.Oj)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.Ie.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){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,o.D)(t,this.last.variables)&&(r=void 0),this.last=(0,n.pi)({result:this.queryManager.assumeImmutableResults?e:(0,c.X)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===a.Ie.refetch||t===a.Ie.fetchMore||t===a.Ie.poll,s=this.options.variables,c=this.options.fetchPolicy,l=(0,u.o)(this.options,e||{}),f=i?l:k(this.options,l),p=this.transformDocument(f.query);this.lastQuery=p,i||(this.updatePolling(),e&&e.variables&&!(0,o.D)(e.variables,s)&&"standby"!==f.fetchPolicy&&f.fetchPolicy===c&&(this.applyNextFetchPolicy("variables-changed",f),void 0===t&&(t=a.Ie.setVariables)));var h=p===f.query?f:(0,n.pi)((0,n.pi)({},f),{query:p});this.waitForOwnResult&&(this.waitForOwnResult=R(h.fetchPolicy));var d=function(){r.concast===m&&(r.waitForOwnResult=!1)},v=h.variables&&(0,n.pi)({},h.variables),y=this.fetch(h,t),m=y.concast,b=y.fromLink,g={next:function(e){d(),r.reportResult(e,v)}
1,error:function(e){d(),r.reportError(e,v)}};return i||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=m,this.observer=g),m.addObserver(g),m},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(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&(0,l.p)(this.observers,"next",e)},t.prototype.reportError=function(e,t){var r=(0,n.pi)((0,n.pi)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:a.Ie.error,loading:!1});this.updateLastResult(r,t),(0,l.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(f.y);function S(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 _(e){!1!==globalThis.__DEV__&&i.kG.error(21,e.message,e.stack)}function E(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(22,e)}function R(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,p.D)(O)},hQQq:(e,t,r)=>{var n;function i(e){return!!e&&e<7}function o(e){return 7===e||8===e}r.d(t,{Ie:()=>n,Jp:()=>o,Oj:()=>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={}))},ywPn:(e,t,r)=>{r.d(t,{MS:()=>s,YG:()=>o,cA:()=>u,ls:()=>a});var n=r("Kd85"),i=(r("cduE"),r("+R6J")),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){function t(r){var o=r.graphQLErrors,a=r.protocolErrors,s=r.clientErrors,u=r.networkError,c=r.errorMessage,l=r.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=o||[],f.protocolErrors=a||[],f.clientErrors=s||[],f.networkError=u||null,f.message=c||function(e){var t=(0,n.ev)((0,n.ev)((0,n.ev)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map((function(e){return(0,i.s)(e)&&e.message||"Error message not found."})).join("\n")}(f),f.extraInfo=l,f.__proto__=t.prototype,f}return(0,n.ZT)(t,e),t}(Error)},LuZN:(e,t,r)=>{r.r(t),r.d(t,{ApolloCache:()=>c.R,ApolloClient:()=>i.f,ApolloConsumer:()=>U,ApolloError:()=>u.cA,ApolloLink:()=>v.i,ApolloProvider:()=>A.e,Cache:()=>n,DocumentTransform:()=>C.A,DocumentType:()=>Y.n_,HttpLink:()=>P.u,InMemoryCache:()=>l.h,MissingFieldError:()=>f.y,NetworkStatus:()=>s.Ie,Observable:()=>I.y,ObservableQuery:()=>a.ue,SuspenseCache:()=>Oe,checkFetcher:()=>_.U,concat:()=>g,createHttpLink:()=>D.L,createSignalIfSupported:()=>E,defaultDataIdFromObject:()=>p.uG,defaultPrinter:()=>S.sb,disableExperimentalFragmentVariables:()=>N.J9,disableFragmentWarnings:()=>N._t,empty:()=>y,enableExperimentalFragmentVariables:()=>N.wO,execute:()=>k.h,fallbackHttpConfig:()=>S.SC,from:()=>m,fromError:()=>x.Q,fromPromise:()=>q,getApolloContext:()=>G.K,gql:()=>N.Ps,isApolloError:()=>u.MS,isNetworkRequestSettled:()=>s.Jp,isReference:()=>j.Yk,makeReference:()=>j.kQ,makeVar:()=>h.QS,mergeOptions:()=>o.J,operationName:()=>Y.mw,parseAndCheckHttpResponse:()=>w.dO,parser:()=>Y.E2,resetApolloContext:()=>G.Z,resetCaches:()=>N.HW,rewriteURIForGET:()=>T.H,selectHttpOptionsAndBody:()=>S.E4,selectHttpOptionsAndBodyInternal:()=>S.ve,selectURI:()=>R.r,serializeFetchParameter:()=>O.g,setLogVerbosity:()=>M.U6,skipToken:()=>ve,split:()=>b,throwServerError:()=>F.P,toPromise:()=>Q,useApolloClient:()=>
1W.x,useBackgroundQuery:()=>ke,useFragment:()=>te,useLazyQuery:()=>z.t,useMutation:()=>K.D,useQuery:()=>B.a,useReactiveVar:()=>Z,useReadQuery:()=>we,useSubscription:()=>H,useSuspenseQuery:()=>ye});var n,i=r("jqtK"),o=r("1PGl"),a=r("JA6f"),s=r("hQQq"),u=r("ywPn");n||(n={});var c=r("SUdN"),l=r("sOoh"),f=r("PdSS"),p=r("o2I4"),h=r("opSR"),d=r("cduE"),v=r("p4+f"),y=v.i.empty,m=v.i.from,b=v.i.split,g=v.i.concat,k=r("IQND"),w=r("wk4V"),O=r("fusl"),S=r("CCkE"),_=r("eN0Z"),E=function(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}},R=r("PPgM"),D=r("PZR0"),P=r("XOv/"),T=r("ZJ0R"),x=r("wgCv");function Q(e){var t=!1;return new Promise((function(r,n){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&d.kG.warn(40):(t=!0,r(e))},error:n})}))}var I=r("p3vz");function q(e){return new I.y((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}var F=r("spgr"),C=r("xdaU"),j=r("nTfx"),M=r("UbjO"),N=r("VhRu");(0,M.U6)(!1!==globalThis.__DEV__?"log":"silent");var A=r("czFa"),L=r("fl6W"),V=r.t(L,2),G=r("AhkF"),U=function(e){var t=(0,G.K)();return L.createElement(t.Consumer,null,(function(t){return(0,d.kG)(t&&t.client,42),e.children(t.client)}))},W=r("5sAQ"),z=r("twyn"),K=r("XKc7"),B=r("VoNp"),J=r("Sx5g"),Y=r("H1G8");function H(e,t){var r=L.useRef(!1),n=(0,W.x)(null===t||void 0===t?void 0:t.client);(0,Y.Vp)(e,Y.n_.Subscription);var i=L.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}),o=i[0],a=i[1];r.current||(r.current=!0,(null===t||void 0===t?void 0:t.onSubscriptionData)&&!1!==globalThis.__DEV__&&d.kG.warn(t.onData?50:51),(null===t||void 0===t?void 0:t.onSubscriptionComplete)&&!1!==globalThis.__DEV__&&d.kG.warn(t.onComplete?52:53));var s=L.useState((function(){return(null===t||void 0===t?void 0:t.skip)?null:n.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})})),u=s[0],c=s[1],l=L.useRef(!1);L.useEffect((function(){return function(){l.current=!0}}),[]);var f=L.useRef({client:n,subscription:e,options:t});return L.useEffect((function(){var r,i,o,s,u=null===t||void 0===t?void 0:t.shouldResubscribe;"function"===typeof u&&(u=!!u(t)),(null===t||void 0===t?void 0:t.skip)?(!(null===t||void 0===t?void 0:t.skip)!==!(null===(r=f.current.options)||void 0===r?void 0:r.skip)||l.current)&&(a({loading:!1,data:void 0,error:void 0,variables:null===t||void 0===t?void 0:t.variables}),c(null),l.current=!1):(!1===u||n===f.current.client&&e===f.current.subscription&&(null===t||void 0===t?void 0:t.fetchPolicy)===(null===(i=f.current.options)||void 0===i?void 0:i.fetchPolicy)&&!(null===t||void 0===t?void 0:t.skip)===!(null===(o=f.current.options)||void 0===o?void 0:o.skip)&&(0,J.D)(null===t||void 0===t?void 0:t.variables,null===(s=f.current.options)||void 0===s?void 0:s.variables))&&!l.current||(a({loading:!0,data:void 0,error:void 0,variables:null===t||void 0===t?void 0:t.variables}),c(n.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})),l.current=!1),Object.assign(f.current,{client:n,subscription:e,options:t})}),[n,e,t,l.current]),L.useEffect((function(){if(u){var e=!1,r=u.subscribe({next:function(r){var i,o;if(!e){var s={loading:!1,data:r.data,error:void 0,variables:null===t||void 0===t?void 0:t.variables};a(s),(null===(i=f.current.options)||void 0===i?void 0:i.onData)?f.current.options.onData({client:n,data:s}):(null===(o=f.current.options)||void 0===o?void 0:o.onSubscriptionData)&&f.current.options.onSubscriptionData({client:n,subscriptionData:s})}},error:function(r){var n,i;e||(a({loading:!1,data:void 0,error:r,variables:null===t||void 0===t?void 0:t.variables}),null===(i=null===(n=f.current.options)||void 0===n?void 0:n.onError)||void 0===i||i.call(n,r))},complete:function(){var t,r;e||((null===(t=f.current.options)||void 0===t?void 0:t.onComplete)?f.current.options.onComplete():(null===(r=f.current.options)||void 0===r?void 0:r.onSubscriptionComplete)&&f.current.options.onSubscriptionComplete())}});return function(){e=!0,setTimeout((function(){r.unsubscribe()}))}}}),[u]),o}function Z(e){var t=e(),r=L.useState(t)[1];return L.useEffect((function(){var n=e();if(t===n)return e.onNextChange(r);r(n)}),[t]),t}var $=r("Kd85"),X=r("2s7T"),ee=r("1UFT");function te(e){var t=(0,W.x)().cache,r=e.fragment,n=e.fragmentName,i=e.from,o=e.optimistic,a=void 0===o||o,s=(0,$._T)(e,["fragment","fragmentName","from","optimistic"]),u=(0,$.pi)((0,$.pi)({},s),{returnPartialData:!0,id:"string"===typeof i?i:t.identify(i),query:t.getFragmentDoc(r,n),optimistic:a}),c=L.useRef(),l=t.diff(u),f=function(){var e=re(l);return c.current&&(0,J.D)(c.current.data,e.data)?c.current:c.current=e};return(0,ee.$)((function(e){var r=0,n=t.watch((0,$.pi)((0,$.pi)({},u),{immediate:!0,callback:function(t){(0,J.D)(t,l)||(c.current=re(l=t),r=setTimeout(e))}}));return function(){n(),clearTimeout(r)}}),f,f)}function re(e){var t={data:e.result,complete:!!e.complete};return e.missing&&(t.missing=(0,X.bw)(e.missing.map((function(e){return e.missing})))),t}var ne=r("saix");function ie(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}var oe=V.use||function(e){var t=function(e){if(function(e){return"status"in e}(e))return e;var t=e;return t.status="pending",t.then((function(e){if("pending"===t.status){var r=t;r.status="fulfilled",r.value=e}}),(function(e){if("pending"===t.status){var r=t;r.status="rejected",r.reason=e}})),e}(e);
1switch(t.status){case"pending":throw t;case"rejected":throw t.reason;case"fulfilled":return t.value}};var ae=r("yIuK"),se=r("kW4c"),ue=Symbol();var ce=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],le=function(){function e(e,t){var r,n=this;this.listeners=new Set,this.status="loading",this.references=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,this.result=e.getCurrentResult(!1),this.key=t.key,t.onDispose&&(this.onDispose=t.onDispose),(0,s.Jp)(this.result.networkStatus)||this.result.data&&(!this.result.partial||this.watchQueryOptions.returnPartialData)?(this.promise=ie(this.result),this.status="idle"):this.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),this.subscription=e.filter((function(e){var t=e.data;return!(0,J.D)(t,{})})).subscribe({next:this.handleNext,error:this.handleError}),this.autoDisposeTimeoutId=setTimeout(this.dispose,null!==(r=t.autoDisposeTimeoutMs)&&void 0!==r?r:3e4)}return Object.defineProperty(e.prototype,"watchQueryOptions",{get:function(){return this.observable.options},enumerable:!1,configurable:!0}),e.prototype.retain=function(){var e=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var t=!1;return function(){t||(t=!0,e.references--,setTimeout((function(){e.references||e.dispose()})))}},e.prototype.didChangeOptions=function(e){var t=this;return ce.some((function(r){return!(0,J.D)(t.watchQueryOptions[r],e[r])}))},e.prototype.applyOptions=function(e){var t=this.watchQueryOptions,r=t.fetchPolicy,n=t.canonizeResults;return"standby"===r&&r!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):(this.observable.silentSetOptions(e),n!==e.canonizeResults&&(this.result=(0,$.pi)((0,$.pi)({},this.result),this.observable.getCurrentResult()),this.promise=ie(this.result))),this.promise},e.prototype.listen=function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},e.prototype.refetch=function(e){return this.initiateFetch(this.observable.refetch(e))},e.prototype.fetchMore=function(e){return this.initiateFetch(this.observable.fetchMore(e))},e.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},e.prototype.onDispose=function(){},e.prototype.handleNext=function(e){var t;switch(this.status){case"loading":void 0===e.data&&(e.data=this.result.data),this.status="idle",this.result=e,null===(t=this.resolve)||void 0===t||t.call(this,e);break;case"idle":if(e.data===this.result.data)return;void 0===e.data&&(e.data=this.result.data),this.result=e,this.promise=ie(e),this.deliver(this.promise)}},e.prototype.handleError=function(e){var t;switch(this.status){case"loading":this.status="idle",null===(t=this.reject)||void 0===t||t.call(this,e);break;case"idle":this.promise=function(e){var t=Promise.reject(e);return t.catch((function(){})),t.status="rejected",t.reason=e,t}(e),this.deliver(this.promise)}},e.prototype.deliver=function(e){this.listeners.forEach((function(t){return t(e)}))},e.prototype.initiateFetch=function(e){var t=this;return this.status="loading",this.promise=new Promise((function(e,r){t.resolve=e,t.reject=r})),this.promise.catch((function(){})),e.then((function(e){var r;"loading"===t.status&&(t.status="idle",t.result=e,null===(r=t.resolve)||void 0===r||r.call(t,e))})).catch((function(){})),e},e}(),fe=function(){function e(e){void 0===e&&(e=Object.create(null)),this.queryRefs=new ae.B(se.mr),this.options=e}return e.prototype.getQueryRef=function(e,t){var r=this.queryRefs.lookupArray(e);return r.current||(r.current=new le(t(),{key:e,autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete r.current}})),r.current},e}(),pe=Symbol.for("apollo.suspenseCache");function he(e){var t;return e[pe]||(e[pe]=new fe(null===(t=e.defaultOptions.react)||void 0===t?void 0:t.suspense)),e[pe]}var de=r("EmAC"),ve=Symbol.for("apollo.skipToken");function ye(e,t){void 0===t&&(t=Object.create(null));var r=(0,W.x)(t.client),n=he(r),i=ge({client:r,query:e,options:t}),o=i.fetchPolicy,a=i.variables,u=t.queryKey,c=void 0===u?[]:u,l=(0,$.ev)([e,(0,de.B)(a)],[].concat(c),!0),f=n.getQueryRef(l,(function(){return r.watchQuery(i)})),p=L.useState((function(){return new Map([[f.key,f.promise]])})),h=p[0],d=p[1],v=h.get(f.key);f.didChangeOptions(i)&&(v=f.applyOptions(i),h.set(f.key,v)),v||(v=f.promise,h.set(f.key,v)),L.useEffect((function(){var e=f.retain(),t=f.listen((function(e){d((function(t){return new Map(t).set(f.key,e)}))}));return function(){t(),e()}}),[f]);var y=L.useMemo((function(){var e=be(f.result);return{loading:!1,data:f.result.data,networkStatus:e?s.Ie.error:s.Ie.ready,error:e}}),[f.result]),m="standby"===o?y:oe(v),b=L.useCallback((function(e){var t=f.fetchMore(e);return d((function(e){return new Map(e).set(f.key,f.promise)})),t}),[f]),g=L.useCallback((function(e){var t=f.refetch(e);return d((function(e){return new Map(e).set(f.key,f.promise)})),t}),[f]),k=L.useCallback((function(e){return f.observable.subscribeToMore(e)}
1),[f]);return L.useMemo((function(){return{client:r,data:m.data,error:be(m),networkStatus:m.networkStatus,fetchMore:b,refetch:g,subscribeToMore:k}}),[r,b,g,m,k])}function me(e){var t=e.query,r=e.fetchPolicy,n=e.returnPartialData;(0,Y.Vp)(t,Y.n_.Query),function(e){void 0===e&&(e="cache-first");var t=["cache-first","network-only","no-cache","cache-and-network"];(0,d.kG)(t.includes(e),54,e)}(r),function(e,t){"no-cache"===e&&t&&!1!==globalThis.__DEV__&&d.kG.warn(55)}(r,n)}function be(e){return(0,ne.O)(e.errors)?new u.cA({graphQLErrors:e.errors}):e.error}function ge(e){var t=e.client,r=e.query,n=e.options;return function(e,t){var r=L.useRef();return r.current&&(0,J.D)(r.current.deps,t)||(r.current={value:e(),deps:t}),r.current.value}((function(){var e;if(n===ve)return{query:r,fetchPolicy:"standby"};var i=n.fetchPolicy||(null===(e=t.defaultOptions.watchQuery)||void 0===e?void 0:e.fetchPolicy)||"cache-first",o=(0,$.pi)((0,$.pi)({},n),{fetchPolicy:i,query:r,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&me(o),n.skip&&(o.fetchPolicy="standby"),o}),[t,n,r])}function ke(e,t){void 0===t&&(t=Object.create(null));var r=(0,W.x)(t.client),n=he(r),i=ge({client:r,query:e,options:t}),o=i.fetchPolicy,a=i.variables,s=t.queryKey,u=void 0===s?[]:s,c=L.useRef("standby"!==o);c.current||(c.current="standby"!==o);var l=(0,$.ev)([e,(0,de.B)(a)],[].concat(u),!0),f=n.getQueryRef(l,(function(){return r.watchQuery(i)})),p=L.useState((function(){return new Map([[f.key,f.promise]])})),h=p[0],d=p[1];if(f.didChangeOptions(i)){var v=f.applyOptions(i);h.set(f.key,v)}L.useEffect((function(){return f.retain()}),[f]);var y=L.useCallback((function(e){var t=f.fetchMore(e);return d((function(e){return new Map(e).set(f.key,f.promise)})),t}),[f]),m=L.useCallback((function(e){var t=f.refetch(e);return d((function(e){return new Map(e).set(f.key,f.promise)})),t}),[f]);f.promiseCache=h;var b=L.useMemo((function(){return function(e){var t;return(t={})[ue]=e,t}(f)}),[f]);return[c.current?b:void 0,{fetchMore:y,refetch:m}]}function we(e){var t=function(e){return e[ue]}(e);(0,d.kG)(t.promiseCache,49);var r=t.promiseCache,n=t.key;r.has(n)||r.set(n,t.promise);var i=(0,ee.$)(L.useCallback((function(e){return t.listen((function(r){t.promiseCache.set(t.key,r),e()}))}),[t]),(function(){return r.get(n)}),(function(){return r.get(n)})),o=oe(i);return L.useMemo((function(){return{data:o.data,networkStatus:o.networkStatus,error:be(o)}}),[o])}var Oe=function(e){function t(){e.call(this);throw new Error("It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\nPlease remove this code from your application. \n\nThis export will be removed with the final 3.8 release.")}return(0,$.ZT)(t,e),t}(fe)},"p4+f":(e,t,r)=>{r.d(t,{i:()=>l});var n=r("cduE"),i=r("p3vz"),o=r("Kd85");var a=r("0JV9");function s(e,t){return t?t(e):i.y.of()}function u(e){return"function"===typeof e?new l(e):e}function c(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return i.y.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var o=u(r),a=u(n||new e(s));return c(o)&&c(a)?new e((function(e){return t(e)?o.request(e)||i.y.of():a.request(e)||i.y.of()})):new e((function(e,r){return t(e)?o.request(e,r)||i.y.of():a.request(e,r)||i.y.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=(0,o.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"===typeof e?(0,o.pi)((0,o.pi)({},r),e(r)):(0,o.pi)((0,o.pi)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,o.pi)({},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?(0,a.rY)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(t.indexOf(o)<0)throw(0,n._K)(41,o)}return e}(t))))||i.y.of()},e.concat=function(t,r){var o=u(t);if(c(o))return!1!==globalThis.__DEV__&&n.kG.warn(33,o),o;var a=u(r);return c(a)?new e((function(e){return o.request(e,(function(e){return a.request(e)||i.y.of()}))||i.y.of()})):new e((function(e,t){return o.request(e,(function(e){return a.request(e,t)||i.y.of()}))||i.y.of()}))},e.prototype.split=function(t,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(0,n._K)(34)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},IQND:(e,t,r)=>{r.d(t,{h:()=>n});var n=r("p4+f").i.execute},"X8/o":(e,t,r)=>{r.d(t,{q:()=>a});var n=r("Kd85"),i=r("p3vz"),o=r("p4+f");function a(e){return new o.i((function(t,r){return new i.y((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}(0,n.ZT)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.i)},"XOv/":(e,t,r)=>{r.d(t,{u:()=>a});var n=r("Kd85"),i=r("p4+f"),o=r("PZR0"),a=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,o.L)(t).request)||this;return r.options=t,r}return(0,n.ZT)(t,e),t}(i.i)},eN0Z:(e,t,r)=>{r.d(t,{U:()=>i});var n=r("cduE"),i=function(e){if(!e&&"undefined"===typeof fetch)throw(0,n._K)(35)}},PZR0:(e,t,r)=>{r.d(t,{L:()=>g});var n=r("Kd85"),i=r("cduE"),o=r("p4+f"),a=r("UUY2"),s=r("p3vz"),u=r("fusl"),c=r("PPgM"),l=r("wk4V"),f=r("eN0Z"),p=r("CCkE"),h=r("ZJ0R"),d=r("wgCv"),v=r("mHZY");var y=r("raUi"),m=r("0JV9"),b=(0,i.wY)((function(){return fetch})),g=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,g=e.fetch,k=e.print,w=void 0===k?p.sb:k,O=e.includeExtensions,S=e.preserveHeaderCase,_=e.useGETForQueries,E=e.includeUnusedVariables,R=void 0!==E&&E,D=(0,n._T)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.U)(g||b);var P={http:{includeExtensions:O,preserveHeaderCase:S},options:D.fetchOptions,credentials:D.credentials,headers:D.headers};return new o.i((function(e){var t=(0,c.r)(e,r),o=e.getContext(),f={};if(o.clientAwareness){var k=o.clientAwareness,O=k.name,S=k.version;O&&(f["apollographql-client-name"]=O),S&&(f["apollographql-client-version"]=S)}var E=(0,n.pi)((0,n.pi)({},f),o.headers),D={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:E};if((0,a.FS)(["client"],e.query)){var T=(0,y.ob)(e.query);if(!T)return(0,d.Q)(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=T}var x,Q=(0,p.ve)(e,w,p.SC,P,D),I=Q.options,q=Q.body;q.variables&&!R&&(q.variables=function(e,t){var r=(0,n.pi)({},e),i=new Set(Object.keys(e));return(0,v.Vn)(t,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&i.delete(e.name.value)}}
1),i.forEach((function(e){delete r[e]})),r}(q.variables,e.query)),I.signal||"undefined"===typeof AbortController||(x=new AbortController,I.signal=x.signal);var F,C="OperationDefinition"===(F=(0,m.p$)(e.query)).kind&&"subscription"===F.operation,j=(0,a.FS)(["defer"],e.query);if(_&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(I.method="GET"),j||C){I.headers=I.headers||{};var M="multipart/mixed;";C&&j&&!1!==globalThis.__DEV__&&i.kG.warn(36),C?M+="boundary=graphql;subscriptionSpec=1.0,application/json":j&&(M+="deferSpec=20220824,application/json"),I.headers.accept=M}if("GET"===I.method){var N=(0,h.H)(t,q),A=N.newURI,L=N.parseError;if(L)return(0,d.Q)(L);t=A}else try{I.body=(0,u.g)(q,"Payload")}catch(L){return(0,d.Q)(L)}return new s.y((function(r){var n=g||(0,i.wY)((function(){return fetch}))||b,o=r.next.bind(r);return n(t,I).then((function(t){var r;e.setContext({response:t});var n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?(0,l.TF)(t,o):(0,l.dO)(e)(t).then(o)})).then((function(){x=void 0,r.complete()})).catch((function(e){x=void 0,(0,l.S3)(e,r)})),function(){x&&x.abort()}}))}))}},wk4V:(e,t,r)=>{r.d(t,{S3:()=>v,dO:()=>y,TF:()=>p});var n=r("Kd85"),i=r("kW4c");function o(e){var t=null,r=null,n=!1,o=[],a=[];function s(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function u(e){r=e,a.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){n=!0,a.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise((function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void a.push([e,t])}))}};return i.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}function a(e){var t={next:function(){return e.read()}};return i.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}function s(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!i.DN||!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 a(t.getReader());if(function(e){return!!e.stream}(t))return a(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 i.DN&&(r[Symbol.asyncIterator]=function(){return this}),r}(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return o(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var u=r("spgr"),c=r("ywPn"),l=r("2Iyw"),f=Object.prototype.hasOwnProperty;function p(e,t){var r;return(0,n.mG)(this,void 0,void 0,(function(){var i,o,a,u,f,p,v,y,m,b,g,k,w,O,S,_,E,R,D,P,T,x,Q;return(0,n.Jh)(this,(function(I){switch(I.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");i=new TextDecoder("utf-8"),o=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),a="boundary=",u=(null===o||void 0===o?void 0:o.includes(a))?null===o||void 0===o?void 0:o.substring((null===o||void 0===o?void 0:o.indexOf(a))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",f="\r\n--".concat(u),p="",v=s(e),y=!0,I.label=1;case 1:return y?[4,v.next()]:[3,3];case 2:for(m=I.sent(),b=m.value,g=m.done,k="string"===typeof b?b:i.decode(b),w=p.length-f.length+1,y=!g,O=(p+=k).indexOf(f,w);O>-1;){if(S=void 0,x=[p.slice(0,O),p.slice(O+f.length)],p=x[1],_=(S=x[0]).indexOf("\r\n\r\n"),E=h(S.slice(0,_)),(R=E["content-type"])&&-1===R.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");
1if(D=S.slice(_))if(P=d(e,D),Object.keys(P).length>1||"data"in P||"incremental"in P||"errors"in P||"payload"in P)(0,l.yU)(P)?(T={},"payload"in P&&(T=(0,n.pi)({},P.payload)),"errors"in P&&(T=(0,n.pi)((0,n.pi)({},T),{extensions:(0,n.pi)((0,n.pi)({},"extensions"in T?T.extensions:null),(Q={},Q[c.YG]=P.errors,Q))})),t(T)):t(P);else if(1===Object.keys(P).length&&"hasNext"in P&&!P.hasNext)return[2];O=p.indexOf(f)}return[3,1];case 3:return[2]}}))}))}function h(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 d(e,t){if(e.status>=300){(0,u.P)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function v(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function y(e){return function(t){return t.text().then((function(e){return d(t,e)})).then((function(r){return t.status>=300&&(0,u.P)(t,r,"Response not successful: Received status code ".concat(t.status)),Array.isArray(r)||f.call(r,"data")||f.call(r,"errors")||(0,u.P)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,"'.")),r}))}}},ZJ0R:(e,t,r)=>{r.d(t,{H:()=>i});var n=r("fusl");function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.g)(t.variables,"Variables map")}catch(f){return{parseError:f}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,n.g)(t.extensions,"Extensions map")}catch(f){return{parseError:f}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+r.join("&")+s}}},CCkE:(e,t,r)=>{r.d(t,{E4:()=>s,SC:()=>o,sb:()=>a,ve:()=>u});var n=r("Kd85"),i=r("b5RS"),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return r.unshift(t),u.apply(void 0,(0,n.ev)([e,a],r,!1))}function u(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a={},s={};r.forEach((function(e){a=(0,n.pi)((0,n.pi)((0,n.pi)({},a),e.options),{headers:(0,n.pi)((0,n.pi)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,n.pi)((0,n.pi)({},s),e.http)})),a.headers&&(a.headers=function(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}(a.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,p={operationName:u,variables:l};return s.includeExtensions&&(p.extensions=c),s.includeQuery&&(p.query=t(f,i.S)),{options:a,body:p}}},PPgM:(e,t,r)=>{r.d(t,{r:()=>n});var n=function(e,t){var r=e.getContext().uri;return r||("function"===typeof t?t(e):t||"/graphql")}},fusl:(e,t,r)=>{r.d(t,{g:()=>i});var n=r("cduE"),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(o){var i=(0,n._K)(37,t,o.message);throw i.parseError=o,i}return r}},MEE0:(e,t,r)=>{r.d(t,{Nq:()=>d});var n=r("Kd85"),i=r("cduE"),o=r("b5RS"),a=r("p4+f"),s=r("saix"),u=r("9/P9"),c=r("p3vz");function l(e){return l="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},l(e)}var f;function p(e){var t=Object.create(null),r=Object.create(null);return(0,s.O)(e)&&e.forEach((function(e){var n;t[e.message]=e,"string"==typeof(null===(n=e.extensions)||void 0===n?void 0:n.code)&&(r[e.extensions.code]=e)})),{persistedQueryNotSupported:!(!t.PersistedQueryNotSupported&&!r.PERSISTED_QUERY_NOT_SUPPORTED),persistedQueryNotFound:!(!t.PersistedQueryNotFound&&!r.PERSISTED_QUERY_NOT_FOUND)}}f||(f={});var h={disable:function(e){return e.meta.persistedQueryNotSupported},retry:function(e){var t=e.meta;return t.persistedQueryNotSupported||t.persistedQueryNotFound},useGETForHashedQueries:!1};var d=function(e){var t=new WeakMap;(0,i.kG)(e&&("function"===typeof e.sha256||"function"===typeof e.generateHash),38);var r=(0,u.o)(h,e),f=r.sha256,d=r.generateHash,v=void 0===d?function(e){return Promise.resolve(f((0,o.S)(e)))}:d,y=r.disable,m=r.retry,b=r.useGETForHashedQueries,g=!0,k=function(e){return new Promise((function(t){return t(v(e))}))};return new a.i((function(e,r){(0,i.kG)(r,39);var o=e.query;return new c.y((function(i){var a,u,c=!1,f=!1,h=function(t,n){var i=t.response,o=t.networkError;if(!c&&(i&&i.errors||o)){c=!0;var l=[],h=i&&i.errors;(0,s.O)(h)&&l.push.apply(l,h);var v=void 0;"string"!==typeof(null===o||void 0===o?void 0:o.result)&&(v=o&&o.result&&o.result.errors),(0,s.O)(v)&&l.push.apply(l,v);var b={response:i,networkError:o,operation:e,graphQLErrors:(0,s.O)(l)?l:void 0,meta:p(l)};if(g=!y(b),m(b))return a&&a.unsubscribe(),e.setContext({http:{includeQuery:!0,includeExtensions:g},fetchOptions:{method:"POST"}}),f&&e.setContext({fetchOptions:u}),void(a=r(e).subscribe(d))}n()},d={next:function(e){h({response:e},(function(){return i.next(e)}))},error:function(e){h({networkError:e},(function(){return i.error(e)}))},complete:i.complete.bind(i)};return e.setContext({http:{includeQuery:!g,includeExtensions:g}}),b&&g&&!function(e){return e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))}(e)&&(e.setContext((function(e){var t=e.fetchOptions,r=void 0===t?{}:t;return u=r,{fetchOptions:(0,n.pi)((0,n.pi)({},r),{method:"GET"})}})),f=!0),g?function(e){if(!e||"object"!==l(e))return k(e);var r=t.get(e);return r||t.set(e,r=k(e)),r}(o).then((function(t){e.extensions.persistedQuery={version:1,sha256Hash:t},a=r(e).subscribe(d)})).catch(i.error.bind(i)):a=r(e).subscribe(d),function(){a&&a.unsubscribe()}}))}))}},wgCv:(e,t,r)=>{r.d(t,{Q:()=>i});var n=r("p3vz");function i(e){return new n.y((function(t){t.error(e)}))}},spgr:(e,t,r)=>{r.d(t,{P:()=>n});var n=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},UbjO:(e,t,r)=>{r.d(t,{U6:()=>p,ej:()=>s,kG:()=>u});var n=r("Kd85"),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"===typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.ZT)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}
1var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}function p(e){var t=c[l];return l=Math.max(0,c.indexOf(e)),t}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}))},Y3qj:(e,t,r)=>{r.d(t,{A:()=>a});var n=r("Kd85"),i=r("7oPb"),o=r("VoNp");function a(e){var t=e.children,r=e.query,i=(0,n._T)(e,["children","query"]),a=(0,o.a)(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}},AhkF:(e,t,r)=>{r.d(t,{K:()=>s,Z:()=>u});var n=r("fl6W"),i=r("kW4c"),o=r("cduE"),a=i.aS?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function s(){(0,o.kG)(!0,43);var e=n.createContext[a];return e||(Object.defineProperty(n.createContext,a,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var u=s},czFa:(e,t,r)=>{r.d(t,{e:()=>s});var n=r("Kd85"),i=r("cduE"),o=r("fl6W"),a=r("AhkF"),s=function(e){var t=e.client,r=e.children,s=(0,a.K)(),u=o.useContext(s),c=o.useMemo((function(){return(0,n.pi)((0,n.pi)({},u),{client:t||u.client})}),[u,t]);return(0,i.kG)(c.client,44),o.createElement(s.Provider,{value:c},r)}},"5sAQ":(e,t,r)=>{r.d(t,{x:()=>a});var n=r("cduE"),i=r("fl6W"),o=r("AhkF");function a(e){var t=i.useContext((0,o.K)()),r=e||t.client;return(0,n.kG)(!!r,47),r}},twyn:(e,t,r)=>{r.d(t,{t:()=>c});var n=r("Kd85"),i=r("fl6W"),o=r("1PGl"),a=r("VoNp"),s=r("5sAQ"),u=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function c(e,t){var r,c=i.useRef(),l=i.useRef(),f=i.useRef(),p=(0,o.J)(t,c.current||{}
1),h=null!==(r=null===p||void 0===p?void 0:p.query)&&void 0!==r?r:e;l.current=p,f.current=h;var d=(0,a.A)((0,s.x)(t&&t.client),h),v=d.useQuery((0,n.pi)((0,n.pi)({},p),{skip:!c.current})),y=v.observable.options.initialFetchPolicy||d.getDefaultFetchPolicy(),m=Object.assign(v,{called:!!c.current}),b=i.useMemo((function(){for(var e={},t=function(t){var r=m[t];e[t]=function(){return c.current||(c.current=Object.create(null),d.forceUpdateState()),r.apply(this,arguments)}},r=0,n=u;r<n.length;r++){t(n[r])}return e}),[]);Object.assign(m,b);var g=i.useCallback((function(e){c.current=e?(0,n.pi)((0,n.pi)({},e),{fetchPolicy:e.fetchPolicy||y}):{fetchPolicy:y};var t=(0,o.J)(l.current,(0,n.pi)({query:f.current},c.current)),r=d.executeQuery((0,n.pi)((0,n.pi)({},t),{skip:!1})).then((function(e){return Object.assign(e,b)}));return r.catch((function(){})),r}),[]);return[g,m]}},XKc7:(e,t,r)=>{r.d(t,{D:()=>l});var n=r("Kd85"),i=r("fl6W"),o=r("1PGl"),a=r("Sx5g"),s=r("H1G8"),u=r("ywPn"),c=r("5sAQ");function l(e,t){var r=(0,c.x)(null===t||void 0===t?void 0:t.client);(0,s.Vp)(e,s.n_.Mutation);var l=i.useState({called:!1,loading:!1,client:r}),f=l[0],p=l[1],h=i.useRef({result:f,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});Object.assign(h.current,{client:r,options:t,mutation:e});var d=i.useCallback((function(e){void 0===e&&(e={});var t=h.current,r=t.options,i=t.mutation,s=(0,n.pi)((0,n.pi)({},r),{mutation:i}),c=e.client||h.current.client;h.current.result.loading||s.ignoreResults||!h.current.isMounted||p(h.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:c});var l=++h.current.mutationId,f=(0,o.J)(s,e);return c.mutate(f).then((function(t){var r,n,i=t.data,o=t.errors,s=o&&o.length>0?new u.cA({graphQLErrors:o}):void 0,d=e.onError||(null===(r=h.current.options)||void 0===r?void 0:r.onError);if(s&&d&&d(s,f),l===h.current.mutationId&&!f.ignoreResults){var v={called:!0,loading:!1,data:i,error:s,client:c};h.current.isMounted&&!(0,a.D)(h.current.result,v)&&p(h.current.result=v)}var y=e.onCompleted||(null===(n=h.current.options)||void 0===n?void 0:n.onCompleted);return s||null===y||void 0===y||y(t.data,f),t})).catch((function(t){var r;if(l===h.current.mutationId&&h.current.isMounted){var n={loading:!1,error:t,data:void 0,called:!0,client:c};(0,a.D)(h.current.result,n)||p(h.current.result=n)}var i=e.onError||(null===(r=h.current.options)||void 0===r?void 0:r.onError);if(i)return i(t,f),{data:void 0,errors:t};throw t}))}),[]),v=i.useCallback((function(){h.current.isMounted&&p({called:!1,loading:!1,client:r})}),[]);return i.useEffect((function(){return h.current.isMounted=!0,function(){h.current.isMounted=!1}}),[]),[d,(0,n.pi)({reset:v},f)]}},VoNp:(e,t,r)=>{r.d(t,{A:()=>k,a:()=>g});var n=r("Kd85"),i=r("cduE"),o=r("fl6W"),a=r("1UFT"),s=r("Sx5g"),u=r("1PGl"),c=r("AhkF"),l=r("ywPn"),f=r("hQQq"),p=r("H1G8"),h=r("5sAQ"),d=r("9OMS"),v=r("kW4c"),y=r("9/P9"),m=r("saix"),b=Object.prototype.hasOwnProperty;function g(e,t){return void 0===t&&(t=Object.create(null)),k((0,h.x)(t.client),e).useQuery(t)}function k(e,t){var r=o.useRef();r.current&&e===r.current.client&&t===r.current.query||(r.current=new w(e,t,r.current));var n=r.current;return n.forceUpdateState=o.useReducer((function(e){return e+1}),0)[1],n}var w=function(){function e(e,t,r){var n=this;this.client=e,this.query=t,this.forceUpdate=function(){return n.forceUpdateState()},this.ssrDisabledResult=(0,d.J)({loading:!0,data:void 0,error:void 0,networkStatus:f.Ie.loading}),this.skipStandbyResult=(0,d.J)({loading:!1,data:void 0,error:void 0,networkStatus:f.Ie.ready}),this.toQueryResultCache=new(v.mr?WeakMap:Map),(0,p.Vp)(t,p.n_.Query);var i=r&&r.result,o=i&&i.data;o&&(this.previousData=o)}return e.prototype.forceUpdateState=function(){!1!==globalThis.__DEV__&&i.kG.warn(48)},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=o.useContext((0,c.K)()).renderPromises,this.useOptions(e);var r=this.useObservableQuery(),n=(0,a.$)(o.useCallback((function(e){if(t.renderPromises)return function(){};t.forceUpdate=e;var n=function(){var e=t.result,n=r.getCurrentResult();e&&e.loading===n.loading&&e.networkStatus===n.networkStatus&&(0,s.D)(e.data,n.data)||t.setResult(n)},i=r.subscribe(n,(function e(o){var a=r.last;i.unsubscribe();try{r.resetLastResults(),i=r.subscribe(n,e)}finally{r.last=a}if(!b.call(o,"graphQLErrors"))throw o;var u=t.result;(!u||u&&u.loading||!(0,s.D)(o,u.error))&&t.setResult({data:u&&u.data,error:o,loading:!1,networkStatus:f.Ie.error})}));return function(){setTimeout((function(){return i.unsubscribe()})),t.forceUpdate=function(){return t.forceUpdateState()}}}),[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;
1(0,s.D)(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((0,y.o)(this.observable&&this.observable.options,this.watchQueryOptions)),e.reduce(u.J)},e.prototype.createWatchQueryOptions=function(e){var t;void 0===e&&(e={});var r=e.skip,i=(e.ssr,e.onCompleted,e.onError,e.defaultOptions,(0,n._T)(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,u=o.initialFetchPolicy,c=void 0===u?s:u;Object.assign(o,{initialFetchPolicy:c,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)||"cache-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=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,t)},e.prototype.handleErrorOrCompleted=function(e,t){var r=this;if(!e.loading){var n=this.toApolloError(e);Promise.resolve().then((function(){n?r.onError(n):e.data&&(null===t||void 0===t?void 0:t.networkStatus)!==e.networkStatus&&e.networkStatus===f.Ie.ready&&r.onCompleted(e.data)})).catch((function(e){!1!==globalThis.__DEV__&&i.kG.warn(e)}))}},e.prototype.toApolloError=function(e){return(0,m.O)(e.errors)?new l.cA({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,(0,n._T)(e,["data","partial"]));return this.toQueryResultCache.set(e,t=(0,n.pi)((0,n.pi)((0,n.pi)({data:r},i),this.obsQueryFields),{client:this.client,observable:this.observable,variables:this.observable.variables,called:!this.queryHookOptions.skip,previousData:this.previousData})),!t.error&&(0,m.O)(e.errors)&&(t.error=new l.cA({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:f.Ie.refetch}),this.observable.refetch())},e}()},"1UFT":(e,t,r)=>{var n;r.d(t,{$:()=>u});var i=r("cduE"),o=r("fl6W"),a=r("kW4c"),s=!1,u=(n||(n=r.t(o,2))).useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||s||n===t()||(s=!0,!1!==globalThis.__DEV__&&i.kG.error(56));var u=o.useState({inst:{value:n,getSnapshot:t}}),l=u[0].inst,f=u[1];return a.JC?o.useLayoutEffect((function(){Object.assign(l,{value:n,getSnapshot:t}),c(l)&&f({inst:l})}),[e,n,t]):Object.assign(l,{value:n,getSnapshot:t}),o.useEffect((function(){return c(l)&&f({inst:l}),e((function(){c(l)&&f({inst:l})}))}),[e]),n};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(n){return!0}}},H1G8:(e,t,r)=>{r.d(t,{E2:()=>s,Vp:()=>u,mw:()=>a,n_:()=>n});var n,i=r("cduE");!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){var t,r,a=o.get(e);if(a)return a;(0,i.kG)(!!e&&!!e.kind,57,e);for(var s=[],u=[],c=[],l=[],f=0,p=e.definitions;f<p.length;f++){var h=p[f];if("FragmentDefinition"!==h.kind){if("OperationDefinition"===h.kind)switch(h.operation){case"query":u.push(h);break;case"mutation":c.push(h);break;case"subscription":l.push(h)}}else s.push(h)}(0,i.kG)(!s.length||u.length||c.length||l.length,58),(0,i.kG)(u.length+c.length+l.length<=1,59,e,u.length,l.length,c.length),r=u.length?n.Query:n.Mutation,u.length||c.length||(r=n.Subscription);var d=u.length?u:c.length?c:l;(0,i.kG)(1===d.length,60,e,d.length);var v=d[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}function u(e,t){var r=s(e),n=a(t),o=a(r.type);(0,i.kG)(r.type===t,61,n,n,o)}},saix:(e,t,r)=>{r.d(t,{O:()=>i,k:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},kW4c:(e,t,r)=>{r.d(t,{DN:()=>s,JC:()=>l,aS:()=>a,mr:()=>i,sy:()=>o});var n=r("cduE"),i="function"===typeof WeakMap&&"ReactNative"!==(0,n.wY)((function(){return navigator.product})),o="function"===typeof WeakSet,a="function"===typeof Symbol&&"function"===typeof Symbol.for,s=a&&Symbol.asyncIterator,u="function"===typeof(0,n.wY)((function(){return window.document.createElement})),c=(0,n.wY)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))||!1,l=u&&!c},sZ5x:(e,t,r)=>{r.d(t,{X:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=o(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=o(e[r],t)})),i;default:return e}}},"9/P9":(e,t,r)=>{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,{o:()=>n})},"2Iyw":(e,t,r)=>{r.d(t,{GG:()=>a,M0:()=>s,mT:()=>c,yU:()=>u});var n=r("+R6J"),i=r("saix"),o=r("2s7T");function a(e){return"incremental"in e}function s(e){return a(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function u(e){return(0,n.s)(e)&&"payload"in e}function c(e,t){var r=e,n=new o.w0;return a(t)&&(0,i.O)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=!isNaN(+a)?[]:{};s[a]=t,t=s}
1r=n.merge(r,t)})),r}},FjDm:(e,t,r)=>{r.d(t,{X:()=>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))}},"9OMS":(e,t,r)=>{r.d(t,{J:()=>o});var n=r("+R6J");function i(e){var t=new Set([e]);return t.forEach((function(e){(0,n.s)(e)&&function(e){if(!1!==globalThis.__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){(0,n.s)(e[r])&&t.add(e[r])}))})),e}function o(e){return!1!==globalThis.__DEV__&&i(e),e}},"2s7T":(e,t,r)=>{r.d(t,{Ee:()=>a,bw:()=>s,w0:()=>c});var n=r("Kd85"),i=r("+R6J"),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 c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.ev)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,n.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},"1PGl":(e,t,r)=>{r.d(t,{J:()=>o});var n=r("Kd85"),i=r("9/P9");function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.pi)((0,n.pi)({},e&&e.variables),t.variables))})}},"+R6J":(e,t,r)=>{function n(e){return n="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},n(e)}function i(e){return null!==e&&"object"===n(e)}r.d(t,{s:()=>i})},"1Y9H":(e,t,r)=>{r.d(t,{v:()=>i});var n=r("FjDm");function i(e,t){void 0===t&&(t=0);var r=(0,n.X)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?r:t}),t).split(JSON.stringify(r)).join("<undefined>")}},cduE:(e,t,r)=>{r.d(t,{kG:()=>l,wY:()=>a,_K:()=>f});var n=r("Kd85"),i=r("UbjO"),o=r("B3mh");function a(e){try{return e()}catch(t){}}const s=a((function(){return globalThis}))||a((function(){return window}))||a((function(){return self}))||a((function(){return global}))||a((function(){return a.constructor("return this")()}));var u=r("1Y9H");function c(e){return function(t){for(var r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];e.apply(void 0,(0,n.ev)(["number"===typeof t?h(t):t],r,!1))}}var l=Object.assign((function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||(0,i.kG)(e,h(t,r))}),{debug:c(i.kG.debug),log:c(i.kG.log),warn:c(i.kG.warn),error:c(i.kG.error)});function f(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new i.ej(h(e,t))}var p=Symbol.for("ApolloErrorMessageHandler_"+o.i);function h(e,t){if(void 0===t&&(t=[]),e){var r=t.map((function(e){return"string"==typeof e?e:(0,u.v)(e,2).slice(0,1e3)}));return s[p]&&s[p](e,r)||"An error occured! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:o.i,message:e,args:r})))}}globalThis.__DEV__},xdaU:(e,t,r)=>{r.d(t,{A:()=>u});var n=r("yIuK"),i=r("kW4c"),o=r("0JV9"),a=r("cduE");function s(e){return e}var u=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),!1!==t.cache&&(this.stableCacheKeys=new n.B(i.mr,(function(e){return{key:e}})))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(s,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),new e((function(e){return(t(e)?r:n).transformDocument(e)}),{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;(0,o.A$)(e);var r=this.transform(e);return this.resultCache.add(r),t&&(t.value=r),r},e.prototype.concat=function(t){var r=this;return new e((function(e){return t.transformDocument(r.transformDocument(e))}
1),{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);return t?((0,a.kG)(Array.isArray(t),63),this.stableCacheKeys.lookupArray(t)):void 0}},e}()},UUY2:(e,t,r)=>{r.d(t,{FS:()=>a,LZ:()=>o,mj:()=>s});var n=r("cduE"),i=r("mHZY");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;(0,n.kG)(r&&1===r.length,65,i);var o=r[0];(0,n.kG)(o.name&&"if"===o.name.value,66,i);var a=o.value;(0,n.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),67,i),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],(0,n.kG)(void 0!==o,64,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o}))}function a(e,t,r){var n=new Set(e),o=n.size;return(0,i.Vn)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.$_}}),r?!n.size:n.size<o}function s(e){return e&&a(["client","export"],e,!0)}},mEmp:(e,t,r)=>{r.d(t,{F:()=>a,Yk:()=>o,hi:()=>s});var n=r("Kd85"),i=r("cduE");function o(e,t){var r=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(68,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),"undefined"===typeof r&&((0,i.kG)(1===o.length,69,o.length),r=o[0].name.value),(0,n.pi)((0,n.pi)({},e),{definitions:(0,n.ev)([{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(0,i.kG)(n,70,r),n||null;default:return null}}},"0JV9":(e,t,r)=>{r.d(t,{$H:()=>a,A$:()=>o,O4:()=>p,iW:()=>c,kU:()=>u,p$:()=>f,pD:()=>l,rY:()=>s});var n=r("cduE"),i=r("nTfx");function o(e){(0,n.kG)(e&&"Document"===e.kind,71);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,n._K)(72,e.kind);return e}));return(0,n.kG)(t.length<=1,73,t.length),e}function a(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function c(e){var t=a(e);return(0,n.kG)(t&&"query"===t.operation,74),t}function l(e){(0,n.kG)("Document"===e.kind,75),(0,n.kG)(e.definitions.length<=1,76);var t=e.definitions[0];return(0,n.kG)("FragmentDefinition"===t.kind,77),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(0,n._K)(78)}function p(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)})),t}},b5RS:(e,t,r)=>{r.d(t,{S:()=>o});var n=r("bQPQ"),i=r("kW4c").mr?new WeakMap:void 0,o=function(e){var t;return(t=null===i||void 0===i?void 0:i.get(e))||(t=(0,n.S)(e),null===i||void 0===i||i.set(e,t)),t}},nTfx:(e,t,r)=>{r.d(t,{Ao:()=>k,JW:()=>c,My:()=>g,NC:()=>y,PT:()=>h,Yk:()=>u,kQ:()=>s,qw:()=>b,u2:()=>m,vb:()=>l,vf:()=>f});var n=r("cduE"),i=r("+R6J"),o=r("mEmp");function a(e){return a="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},a(e)}function s(e){return{__ref:String(e)}}function u(e){return Boolean(e&&"object"===a(e)&&"string"===typeof e.__ref)}function c(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}
1function l(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 l(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 l(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(0,n._K)(79,t.value,r.kind);e[t.value]=null}}function f(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return l(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 l(n,r,i,t)}))),h(e.name.value,n,r)}var p=["connection","include","skip","client","rest","export","nonreactive"],h=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===p.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,v)};function v(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function y(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),r}return null}function m(e){return e.alias?e.alias.value:e.name.value}function b(e,t,r){for(var n,i=0,a=t.selections;i<a.length;i++){if(g(c=a[i])){if("__typename"===c.name.value)return e[m(c)]}else n?n.push(c):n=[c]}if("string"===typeof e.__typename)return e.__typename;if(n)for(var s=0,u=n;s<u.length;s++){var c=u[s],l=b(e,(0,o.hi)(c,r).selectionSet,r);if("string"===typeof l)return l}}function g(e){return"Field"===e.kind}function k(e){return"InlineFragment"===e.kind}},raUi:(e,t,r)=>{r.d(t,{Gw:()=>m,aL:()=>b,bi:()=>y,ob:()=>g});var n=r("Kd85"),i=r("cduE"),o=r("Pe/a"),a=r("mHZY"),s=r("0JV9"),u=r("nTfx"),c=r("mEmp"),l=r("saix"),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function p(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===o.h.FRAGMENT_SPREAD&&p(t[e.name.value],t)}))}function h(e){return p((0,s.$H)(e)||(0,s.pD)(e),(0,c.F)((0,s.kU)(e)))?null:e}function d(e){var t=new Map,r=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))})),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach((function(t,r){r(e)&&(n=t)})),n}}function v(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 y(e,t){(0,s.A$)(t);for(var r=v(""),u=v(""),c=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.k)(n)){if(n.kind===o.h.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===o.h.FRAGMENT_DEFINITION)return u(n.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(80),null},f=0,p=t.definitions.length-1;p>=0;--p)t.definitions[p].kind===o.h.OPERATION_DEFINITION&&++f;var y=d(e),m=function(e){return(0,l.O)(e)&&e.map(y).some((function(e){return e&&e.remove}))},b=new Map,g=!1,k={enter:function(e){if(m(e.directives))return g=!0,null}},w=(0,a.Vn)(t,{Field:k,InlineFragment:k,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(m(e.directives))return g=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){b.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===b.get(JSON.stringify(n))?e:f>0&&e.selectionSet.selections.every((function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value}))?(u(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return g=!0,null}}});if(!g)return t;var O=function e(t){return t.transitiveVars||(t.transitiveVars=new Set(t.variables),t.removed||t.fragmentSpreads.forEach((function(r){e(u(r)).transitiveVars.forEac
1h((function(e){t.transitiveVars.add(e)}))}))),t},S=new Set;w.definitions.forEach((function(e){e.kind===o.h.OPERATION_DEFINITION?O(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){S.add(e)})):e.kind!==o.h.FRAGMENT_DEFINITION||0!==f||u(e.name.value).removed||S.add(e.name.value)})),S.forEach((function(e){O(u(e)).fragmentSpreads.forEach((function(e){S.add(e)}))}));var _={enter:function(e){if(t=e.name.value,!S.has(t)||u(t).removed)return null;var t}};return h((0,a.Vn)(w,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.pi)((0,n.pi)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var m=Object.assign((function(e){return(0,a.Vn)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.h.OPERATION_DEFINITION){var i=e.selections;if(i)if(!i.some((function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var a=r;if(!((0,u.My)(a)&&a.directives&&a.directives.some((function(e){return"export"===e.name.value}))))return(0,n.pi)((0,n.pi)({},e),{selections:(0,n.ev)((0,n.ev)([],i,!0),[f],!1)})}}}}})}),{added:function(e){return e===f}});function b(e){return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,n.pi)((0,n.pi)({},e),{operation:"query"})}}})}function g(e){return(0,s.A$)(e),y([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},"2neh":(e,t,r)=>{function n(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}r.d(t,{p:()=>n})},"+S2h":(e,t,r)=>{r.d(t,{D:()=>o});var n=r("p3vz"),i=r("kW4c");function o(e){function t(t){Object.defineProperty(e,t,{value:n.y})}return i.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},B3mh:(e,t,r)=>{r.d(t,{i:()=>n});var n="3.8.1"}}]);

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.