1?c:t}:(a=(0,n.__assign)({},i),S.$3.call(a,”from”)||(a.from=t)),void 0===a.from&&o.V1.warn(7,(0,U.p)(Array.from(e))),void 0===a.variables&&(a.variables=r),a}function ie(e){return function(t,r){if((0,N.c)(t)||(0,N.c)(r))throw(0,o.vA)(8);if((0,w.U)(t)&&(0,w.U)(r)){var a=e.getFieldValue(t,”__typename”),i=e.getFieldValue(r,”__typename”);if(a&&i&&a!==i)return r;if((0,d.A_)(t)&&(0,S.d1)(r))return e.merge(t.__ref,r),t;if((0,S.d1)(t)&&(0,d.A_)(r))return e.merge(t,r.__ref),r;if((0,S.d1)(t)&&(0,S.d1)(r))return(0,n.__assign)((0,n.__assign)({},t),r)}return r}}function ce(e,t,r){var o=””.concat(t).concat(r),a=e.flavors.get(o);return a||e.flavors.set(o,a=e.clientOnly===t&&e.deferred===r?e:(0,n.__assign)((0,n.__assign)({},e),{clientOnly:t,deferred:r})),a}var se=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,a=t.query,c=t.result,s=t.dataId,u=t.variables,l=t.overwrite,f=(0,m.Vu)(a),p=(0,S.mv)();u=(0,n.__assign)((0,n.__assign)({},(0,m.wY)(f)),u);var h=(0,n.__assign)((0,n.__assign)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:u,varString:(0,L.M)(u)},(0,S.lq)(a,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map,currentPath:””,doNotCachePaths:t.doNotCachePaths||[]}),v=this.processSelectionSet({result:c||Object.create(null),dataId:s,selectionSet:f.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,d.A_)(v))throw(0,o.vA)(11,c);return h.incomingById.forEach((function(t,n){var a=t.storeObject,c=t.mergeTree,s=t.fieldNodeSet,u=(0,d.WU)(n);if(c&&c.map.size){var l=r.applyMerges(c,u,a,h);if((0,d.A_)(l))return;a=l}if(!h.overwrite){var f=Object.create(null);s.forEach((function(e){e.selectionSet&&(f[e.name.value]=!0)}));Object.keys(a).forEach((function(e){(function(e){return!0===f[(0,S.iJ)(e)]})(e)&&!function(e){var t=c&&c.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var a=function(e){var t=n.getFieldValue(e,r);return”object”===(0,k.A)(t)&&t},c=a(e);if(!c)return;var s=a(t);if(!s)return;if((0,d.A_)(c))return;if((0,i.L)(c,s))return;if(Object.keys(c).every((function(e){return void 0!==n.getFieldValue(s,e)})))return;var u=n.getFieldValue(e,”__typename”)||n.getFieldValue(t,”__typename”),l=(0,S.iJ)(r),f=””.concat(u,”.”).concat(l);if(he.has(f))return;he.add(f);var p=[];(0,N.c)(c)||(0,N.c)(s)||[c,s].forEach((function(e){var t=n.getFieldValue(e,”__typename”);”string”!=typeof t||p.includes(t)||p.push(t)}));o.V1.warn(14,l,u,p.length?”either ensure all objects of type “+p.join(” and “)+” have an ID or a custom merge function, or “:””,f,c,s)}(u,a,e,h.store)}))}e.merge(n,a)})),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,a=e.result,i=e.selectionSet,c=e.context,s=e.mergeTree,u=this.cache.policies,l=Object.create(null),p=r&&u.rootTypenamesById[r]||(0,d.D$)(a,i,c.fragmentMap)||r&&c.store.get(r,”__typename”);”string”==typeof p&&(l.__typename=p);var h=function(){var e=ae(arguments,l,c.variables);if((0,d.A_)(e.from)){var t=c.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.__assign)((0,n.__assign)({},e),{from:t.storeObject}),c);if(void 0!==r)return r}}return u.readField(e,c)},v=new Set;this.flattenFields(i,a,c,p).forEach((function(e,r){var n,i=(0,d.ue)(r),c=a[i];if(v.add(r),void 0!==c){var m=u.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),g=le(s,m),b=t.processFieldValue(c,r,r.selectionSet?ce(e,!1,!1):e,g),y=void 0;r.selectionSet&&((0,d.A_)(b)||(0,S.d1)(b))&&(y=h(“__typename”,b));var w=u.getMergeFunction(p,r.name.value,y);w?g.info={field:r,typename:p,merge:w}:pe(s,m),l=e.merge(l,((n={})[m]=b,n))}else e.clientOnly||e.deferred||f.XY.added(r)||u.getReadFunction(p,r.name.value)||o.V1.error(12,(0,d.ue)(r),a)}));try{var m=u.identify(a,{typename:p,selectionSet:i,fragmentMap:c.fragmentMap,storeObject:l,readField:h}),g=m[0],b=m[1];r=r||g,b&&(l=c.merge(l,b))}catch(e){if(!r)throw e}if(“string”==typeof r){var y=(0,d.WU)(r),w=c.written[r]||(c.written[r]=[]);if(w.indexOf(i)>=0)return y;if(w.push(i),this.reader&&this.reader.isFresh(a,y,i,c))return y;var k=c.incomingById.get(r);return k?(k.storeObject=c.merge(k.storeObject,l),k.mergeTree=fe(k.mergeTree,s),v.forEach((function(e){return k.fieldNodeSet.add(e)}))):c.incomingById.set(r,{storeObject:l,mergeTree:de(s)?void 0:s,fieldNodeSet:v}),y}return l},e.prototype.processFieldValue=function(e,t,r,n){var o=this;return t.selectionSet&&null!==e?(0,N.c)(e)?e.map((function(e,a){var i=o.processFieldValue(e,t,r,le(n,a));return pe(n,a),i})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):(0,B.m)(e)},e.prototype.flattenFields=function(e,t,r,a){void 0===a&&(a=(0,d.D$)(t,e,r.fragmentMap));var i=new Map,s=this.cache.policies,u=new x.b(!1);return function e(l,f){var h=u.lookup(l,f.clientOnly,f.deferred);h.visited||(h.visited=!0,l.selections.forEach((function(u){var l=r.currentPath;if(“Field”===u.kind&&(l=r.currentPath?r.currentPath+”.”+u.name.value:u.name.value),(0,b.MS)(u,r.variables)&&!(r.doNotCachePaths.indexOf(l)>=0)){var h=(0,n.__assign)({},r,{currentPath:l}),v=f.clientOnly,m=f.deferred;if(v&&m||!(0,N.E)(u.directives)||u.directives.forEach((function(e){var t=e.name.value;if(“client”===t&&(v=!0),”defer”===t){var n=(0,d.MB)(e,r.variables);n&&!1===n.if||(m=!0)}})),(0,d.dt)(u)){var g=i.get(u);g&&(v=v&&g.clientOnly,m=m&&g.deferred),i.set(u,ce(h,v,m))}else{var y=(0,c.HQ)(u,r.lookupFragment);if(!y&&u.kind===p.b.FRAGMENT_SPREAD)throw(0,o.vA)(13,u.name.value);y&&s.fragmentMatches(y,a,t,r.variables)&&e(y.selectionSet,ce(h,v,m))}}})))}(e,r),i},e.prototype.applyMerges=function(e,t,r,a,i){var c,s=this;if(e.map.size&&!(0,d.A_)(r)){var u,l=(0,N.c)(r)||!(0,d.A_)(t)&&!(0,S.d1)(t)?void 0:t,f=r;l&&!i&&(i=[(0,d.A_)(l)?l.__ref:l]);var p=function(e,t){return(0,N.c)(e)?”number”==typeof t?e[t]:void 0:a.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){var r=p(l,t),n=p(f,t);if(void 0!==n){i&&i.push(t);var c=s.applyMerges(e,r,n,a,i);c!==n&&(u=u||new Map).set(t,c),i&&(0,o.V1)(i.pop()===t)}})),u&&(r=(0,N.c)(f)?f.slice(0):(0,n.__assign)({},f),u.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,a,i&&(c=a.store).getStorage.apply(c,i)):r},e}(),ue=[];function le(e,t){var r=e.map;return r.has(t)||r.set(t,ue.pop()||{map:new Map}),r.get(t)}function fe(e,t){if(e===t||!t||de(t))return e;if(!e||de(e))return t;var r=e.info&&t.info?(0,n.__assign)((0,n.__assign)({},e.info),t.info):e.info||t.info,o=e.map.size&&t.map.size,a={info:r,map:o?new Map:e.map.size?e.map:t.map};if(o){var i=new Set(t.map.keys());e.map.forEach((function(e,r){a.map.set(r,fe(e,t.map.get(r))),i.delete(r)})),i.forEach((function(r){a.map.set(r,fe(t.map.get(r),e.map.get(r)))}))}return a}function de(e){return!e||!(e.info||e.map.size)}function pe(e,t){var r=e.map,n=r.get(t);n&&de(n)&&(ue.push(n),r.delete(t))}var he=new Set;var ve=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new l.c(f.XY),r.assumeImmutableResults=!0,r.makeVar=H.UT,r.txCount=0,r.config=(0,S.I6)(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.__extends)(t,e),t.prototype.init=function(){var e=this.data=new O.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 se(this,this.storeReader=new F({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,S.Xx)(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,a.LV)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(D(r)){var n=e.optimistic,o=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,L.M)({optimistic:n,id:o,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(e){if(e instanceof u)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,(0,n.__assign)((0,n.__assign)({},e),{doNotCachePaths:e.doNotCachePaths||[]}))}finally{–this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(S.$3.call(e,”id”)&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||”ROOT_QUERY”,e.fields)}finally{–this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||”ROOT_QUERY”,config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,H.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,H.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){L.M.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,d.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){o.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(S.$3.call(e,”id”))return!1;e=(0,n.__assign)((0,n.__assign)({},e),{id:”ROOT_QUERY”})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{–this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),L.M.reset(),e&&e.discardWatches?(this.watches.forEach((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,H.WR)(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,o=e.update,a=e.optimistic,i=void 0===a||a,c=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var n=r,a=n.data,i=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=o(r)}finally{–r.txCount,r.data=a,r.optimisticData=i}},l=new Set;return s&&!this.txCount&&this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),”string”==typeof i?this.optimisticData=this.optimisticData.addLayer(i,u):!1===i?u(this.data):u(),”string”==typeof c&&(this.optimisticData=this.optimisticData.removeLayer(c)),s&&l.size?(this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e,t){var r=s.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,i.L)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(s)},908338:function(e,t,r){“use strict”;r.d(t,{$:function(){return l},M:function(){return f}});var n=r(331635),o=r(878921),a=r(443188),i=r(314479),c=r(703872);var s,u,l=function(){function e(){this.known=new(i.En?WeakSet:Set),this.pool=new o.b(i.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,a.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,a.U)(e)){var t=function(e){return(0,a.U)(e)?(0,c.c)(e)?e.slice(0):(0,n.__assign)({__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,a.U)(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(s=this.pool.lookupArray(n)).array||(this.known.add(s.array=n),Object.freeze(n)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var o=Object.getPrototypeOf(e),i=[o],c=this.sortedKeys(e);i.push(c.json);var s,u=i.length;if(c.sorted.forEach((function(r){i.push(t.admit(e[r]))})),!(s=this.pool.lookupArray(i)).object){var l=s.object=Object.create(o);this.known.add(l),c.sorted.forEach((function(e,t){l[e]=i[u+t]})),Object.freeze(l)}return s.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,a.U)(e)){void 0===s&&d();var t=s.admit(e),r=u.get(t);return void 0===r&&u.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:d});function d(){s=new l,u=new(i.et?WeakMap:Map)}},989334:function(e,t,r){“use strict”;r.d(t,{MS:function(){return s},UT:function(){return u},WR:function(){return c},bl:function(){return o}});var n=r(223212),o=new(r(845345).DX),a=new WeakMap;function i(e){var t=a.get(e);return t||a.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function c(e){i(e).vars.forEach((function(t){return t.forgetCache(e)}))}function s(e){i(e).vars.forEach((function(t){return t.attachCache(e)}))}function u(e){var t=new Set,r=new Set,n=function(c){if(arguments.length>0){if(e!==c){e=c,t.forEach((function(e){i(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var s=Array.from(r);r.clear(),s.forEach((function(t){return t(e)}))}}else{var u=o.getValue();u&&(a(u),i(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var a=n.attachCache=function(e){return t.add(e),i(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},875955:function(e,t,r){“use strict”;r.d(t,{R:function(){return se}});var n=r(282284),o=r(331635),a=r(807289),i=r(380355),c=i.C.execute,s=r(357679),u=r(917322),l=r(336160),f=r(594193),d=r(877622),p=r(753722),h=r(908338),v=r(314479),m=r(275277),g=r(973401);function b(e,t,r){return new g.c((function(n){var o={then:function(e){return new Promise((function(t){return t(e())}))}};function a(e,t){return function(r){if(e){var a=function(){return n.closed?0:e(r)};o=o.then(a,a).then((function(e){return n.next(e)}),(function(e){return n.error(e)}))}else n[t](r)}}var i={next:a(t,”next”),error:a(r,”error”),complete:function(){o.then((function(){return n.complete()}))}},c=e.subscribe(i);return function(){return c.unsubscribe()}}))}var y=r(703872);function w(e){var t=k(e);return(0,y.E)(t)}function k(e){var t=(0,y.E)(e.errors)?e.errors.slice(0):[];return(0,f.ST)(e)&&(0,y.E)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var x=r(776188),S=r(728982),_=r(443188),E=r(252430);function A(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function O(e){function t(t){Object.defineProperty(e,t,{value:g.c})}return v.ol&&Symbol.species&&t(Symbol.species),t(“@@species”),e}function T(e){return e&&”function”==typeof e.then}var C=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),A(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),A(r.observers,”error”,e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var o=(void 0===n?[]:n).shift();o?T(o)?o.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=o.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”),A(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 g.c(t)]),T(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,o.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],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}(g.c);O(C);var I=r(535807),R=r(789907),P=r(401317),M=r(620755),D=r(642195);function N(e,t,r,n){var a=t.data,i=(0,o.__rest)(t,["data"]),c=r.data,s=(0,o.__rest)(r,["data"]);return(0,l.A)(i,s)&&L((0,x.Vn)(e).selectionSet,a,c,{fragmentMap:(0,D.JG)((0,x.zK)(e)),variables:n})}function L(e,t,r,n){if(t===r)return!0;var o=new Set;return e.selections.every((function(e){if(o.has(e))return!0;if(o.add(e),!(0,d.MS)(e,n.variables))return!0;if(j(e))return!0;if((0,S.dt)(e)){var a=(0,S.ue)(e),i=t&&t[a],c=r&&r[a],s=e.selectionSet;if(!s)return(0,l.A)(i,c);var u=Array.isArray(i),f=Array.isArray(c);if(u!==f)return!1;if(u&&f){var p=i.length;if(c.length!==p)return!1;for(var h=0;h0},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}(g.c);function H(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 V(e){a.V1.error(23,e.message,e.stack)}function q(e){e&&a.V1.debug(24,e)}function W(e){return”network-only”===e||”no-cache”===e||”standby”===e}O(U);var $=r(84705),Q=r(843298);function Y(e){return e.kind===Q.b.FIELD||e.kind===Q.b.FRAGMENT_SPREAD||e.kind===Q.b.INLINE_FRAGMENT}var G=r(440262),K=r(989334),X=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,G.D9)(t.resolvers,e)})):this.resolvers=(0,G.D9)(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,n=e.context,a=e.variables,i=e.onlyRunForcedResolvers,c=void 0!==i&&i;return(0,o.__awaiter)(this,void 0,void 0,(function(){return(0,o.__generator)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,a,this.fragmentMatcher,c).then((function(e){return(0,o.__assign)((0,o.__assign)({},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,d.d8)([“client”],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,p.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,o.__assign)((0,o.__assign)({},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,o.__awaiter)(this,void 0,void 0,(function(){return(0,o.__generator)(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,o.__assign)((0,o.__assign)({},t),e.exportedVariables)}))]:[2,(0,o.__assign)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,$.YR)(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 $.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,p.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,a,i){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===a&&(a=function(){return!0}),void 0===i&&(i=!1),(0,o.__awaiter)(this,void 0,void 0,(function(){var c,s,u,l,f,d,p,h,v,m;return(0,o.__generator)(this,(function(g){return c=(0,x.Vn)(e),s=(0,x.zK)(e),u=(0,D.JG)(s),l=this.collectSelectionsToResolve(c,u),f=c.operation,d=f?f.charAt(0).toUpperCase()+f.slice(1):”Query”,h=(p=this).cache,v=p.client,m={fragmentMap:u,context:(0,o.__assign)((0,o.__assign)({},r),{cache:h,client:v}),variables:n,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:i},!1,[2,this.resolveSelectionSet(c.selectionSet,false,t,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,o.__awaiter)(this,void 0,void 0,(function(){var i,c,s,u,l,f=this;return(0,o.__generator)(this,(function(p){return i=n.fragmentMap,c=n.context,s=n.variables,u=[r],l=function(e){return(0,o.__awaiter)(f,void 0,void 0,(function(){var l,f;return(0,o.__generator)(this,(function(o){return(t||n.selectionsToResolve.has(e))&&(0,d.MS)(e,s)?(0,S.dt)(e)?[2,this.resolveField(e,t,r,n).then((function(t){var r;void 0!==t&&u.push(((r={})[(0,S.ue)(e)]=t,r))}))]:((0,S.kd)(e)?l=e:(l=i[e.name.value],(0,a.V1)(l,18,e.name.value)),l&&l.typeCondition&&(f=l.typeCondition.name.value,n.fragmentMatcher(r,f,c))?[2,this.resolveSelectionSet(l.selectionSet,t,r,n).then((function(e){u.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,G.IM)(u)}))]}))}))},e.prototype.resolveField=function(e,t,r,n){return(0,o.__awaiter)(this,void 0,void 0,(function(){var a,i,c,s,u,l,f,d,p,h=this;return(0,o.__generator)(this,(function(o){return r?(a=n.variables,i=e.name.value,c=(0,S.ue)(e),s=i!==c,u=r[c]||r[i],l=Promise.resolve(u),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||n.defaultOperationType,(d=this.resolvers&&this.resolvers[f])&&(p=d[s?i:c])&&(l=Promise.resolve(K.bl.withValue(this.cache,p,[r,(0,S.MB)(e,a),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,l.then((function(r){var o,a;if(void 0===r&&(r=u),e.directives&&e.directives.forEach((function(e){“export”===e.name.value&&e.arguments&&e.arguments.forEach((function(e){“as”===e.name.value&&”StringValue”===e.value.kind&&(n.exportedVariables[e.value.value]=r)}))})),!e.selectionSet)return r;if(null==r)return r;var i=null!==(a=null===(o=e.directives)||void 0===o?void 0:o.some((function(e){return”client”===e.name.value})))&&void 0!==a&&a;return Array.isArray(r)?h.resolveSubSelectedArray(e,t||i,r,n):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||i,r,n):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var o=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?o.resolveSubSelectedArray(e,t,r,n):e.selectionSet?o.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 i=new Set;n.set(o,i),(0,$.YR)(o,{Directive:function(e,t,n,o,a){“client”===e.name.value&&a.forEach((function(e){r(e)&&Y(e)&&i.add(e)}))},FragmentSpread:function(n,o,c,s,u){var l=t[n.name.value];(0,a.V1)(l,19,n.name.value);var f=e(l);f.size>0&&(u.forEach((function(e){r(e)&&Y(e)&&i.add(e)})),i.add(n),f.forEach((function(e){i.add(e)})))}})}return n.get(o)}(e)},e}(),J=new(v.et?WeakMap:Map);function Z(e,t){var r=e[t];”function”==typeof r&&(e[t]=function(){return J.set(e,(J.get(e)+1)%1e15),r.apply(this,arguments)})}function ee(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var te=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.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;J.has(r)||(J.set(r,0),Z(r,”evict”),Z(r,”modify”),Z(r,”reset”))}return e.prototype.init=function(e){var t=e.networkStatus||R.pT.loading;return this.variables&&this.networkStatus!==R.pT.loading&&!(0,l.L)(this.variables,e.variables)&&(t=R.pT.setVariables),(0,l.L)(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(){ee(this),this.dirty=!1},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,l.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&”no-cache”===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},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,l.L)(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():H(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;ee(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,R.bi)(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;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 n=(0,o.__assign)((0,o.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,l.L)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===J.get(this.cache)&&(0,l.L)(t,r.variables)&&(0,l.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var o,a=this,i=a.observableQuery&&a.observableQuery.queryName,c=window.__twilightPerfBatchQueryResult,s=window.__twilightPerfBatchQueryCacheResult;c&&i&&c(i),s&&i&&(o=s(i));var u=function(){o&&o()},d=new G.ZI,p=(0,y.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),”incremental”in e&&(0,y.E)(e.incremental)){var h=(0,f.bd)(this.getDiff().result,e);e.data=h}else if(“hasNext”in e&&e.hasNext){var v=this.getDiff();e.data=d.merge(v.result,e.data)}this.graphQLErrors=p,”no-cache”===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(re(e,r.errorPolicy)?this.cache.performTransaction((function(o){if(a.shouldWrite(e,r.variables)){var i=[];”no-cache-write”===r.errorPolicy&&e.errors&&e.errors.length&&e.errors.forEach((function(e){e.path&&e.path.length&&i.push(e.path.join(“.”))})),o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n,doNotCachePaths:i}),a.lastWrite={result:e,variables:r.variables,dmCount:J.get(a.cache)}}else if(a.lastDiff&&a.lastDiff.diff.complete)return e.data=a.lastDiff.diff.result,void u();var c=a.getDiffOptions(r.variables),s=o.diff(c);!a.stopped&&(0,l.L)(a.variables,r.variables)&&a.updateWatch(r.variables),a.updateLastDiff(s,c),s.complete&&(e.data=s.result)})):this.lastWrite=void 0,u())},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=R.pT.ready},e.prototype.markError=function(e){return this.networkStatus=R.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function re(e,t){void 0===t&&(t=”none”);var r=”ignore”===t||”all”===t||”no-cache-write”===t,n=w(e);return!!(n&&r&&e.data)||!n}var ne=r(80928),oe=Object.prototype.hasOwnProperty,ae=function(){function e(e){var t=this,r=e.cache,n=e.link,o=e.defaultOptions,a=e.documentTransform,i=e.queryDeduplication,c=void 0!==i&&i,s=e.onBroadcast,u=e.ssrMode,l=void 0!==u&&u,f=e.clientAwareness,d=void 0===f?{}:f,p=e.localState,h=e.assumeImmutableResults,g=void 0===h?!!r.assumeImmutableResults:h;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(v.et?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var b=new m.c((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=r,this.link=n,this.defaultOptions=o||Object.create(null),this.queryDeduplication=c,this.clientAwareness=d,this.localState=p||new X({cache:r}),this.ssrMode=l,this.assumeImmutableResults=g,this.documentTransform=a?b.concat(a).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,a.vA)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,n=e.mutation,i=e.variables,c=e.optimisticResponse,s=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,f=e.awaitRefetchQueries,d=void 0!==f&&f,p=e.update,h=e.onQueryUpdated,v=e.fetchPolicy,m=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||”network-only”:v,g=e.errorPolicy,y=void 0===g?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||”none”:g,x=e.keepRootFields,S=e.context;return(0,o.__awaiter)(this,void 0,void 0,(function(){var e,t,r,u;return(0,o.__generator)(this,(function(f){switch(f.label){case 0:return(0,a.V1)(n,26),(0,a.V1)(“network-only”===m||”no-cache”===m,27),e=this.generateMutationId(),n=this.cache.transformForLink(this.transform(n)),t=this.getDocumentInfo(n).hasClientExports,i=this.getVariables(n,i),t?[4,this.localState.addExportedVariables(n,i,S)]:[3,2];case 1:i=f.sent(),f.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:i,loading:!0,error:null}),c&&this.markMutationOptimistic(c,{mutationId:e,document:n,variables:i,fetchPolicy:m,errorPolicy:y,context:S,updateQueries:s,update:p,keepRootFields:x}),this.broadcastQueries(),u=this,[2,new Promise((function(t,a){return b(u.getObservableFromLink(n,(0,o.__assign)((0,o.__assign)({},S),{optimisticResponse:c}),i,!1),(function(t){if(w(t)&&”none”===y)throw new I.K4({graphQLErrors:k(t)});r&&(r.loading=!1,r.error=null);var a=(0,o.__assign)({},t);return”function”==typeof l&&(l=l(a)),”ignore”===y&&w(a)&&delete a.errors,u.markMutationResult({mutationId:e,result:a,document:n,variables:i,fetchPolicy:m,errorPolicy:y,context:S,update:p,updateQueries:s,awaitRefetchQueries:d,refetchQueries:l,removeOptimistic:c?e:void 0,onQueryUpdated:h,keepRootFields:x})})).subscribe({next:function(e){u.broadcastQueries(),”hasNext”in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),c&&u.cache.removeOptimistic(e),u.broadcastQueries(),a(t instanceof I.K4?t:new I.K4({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,a=[],i=”no-cache”===e.fetchPolicy;if(!i&&re(n,e.errorPolicy)){if((0,f.ST)(n)||a.push({result:n.data,dataId:”ROOT_MUTATION”,query:e.document,variables:e.variables}),(0,f.ST)(n)&&(0,y.E)(n.incremental)){var c=t.diff({id:”ROOT_MUTATION”,query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;c.result&&(s=(0,f.bd)(c.result,n)),void 0!==s&&(n.data=s,a.push({result:s,dataId:”ROOT_MUTATION”,query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach((function(e,o){var i=e.observableQuery,c=i&&i.queryName;if(c&&oe.call(u,c)){var s=u[c],l=r.queries.get(o),f=l.document,d=l.variables,p=t.diff({query:f,variables:d,returnPartialData:!0,optimistic:!1}),h=p.result;if(p.complete&&h){var v=s(h,{mutationResult:n,queryName:f&&(0,x.n4)(f)||void 0,queryVariables:d});v&&a.push({result:v,dataId:”ROOT_QUERY”,query:f,variables:d})}}}))}if(a.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){i||a.forEach((function(e){return t.write(e)}));var c=e.update,s=!(0,f.YX)(n)||(0,f.ST)(n)&&!n.hasNext;if(c){if(!i){var u=t.diff({id:”ROOT_MUTATION”,query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&(“incremental”in(n=(0,o.__assign)((0,o.__assign)({},n),{data:u.result}))&&delete n.incremental,”hasNext”in n&&delete n.hasNext)}s&&c(t,n,{context:e.context,variables:e.variables})}i||e.keepRootFields||!s||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 l.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then((function(){return n}))}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n=”function”==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,o.__assign)((0,o.__assign)({},t),{result:{data:n}}),e)}catch(e){a.V1.error(e)}}),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,d.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,d.d8)([“nonreactive”],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,p.iz)([{name:”client”,remove:!0},{name:”connection”},{name:”nonreactive”}],e),defaultVars:(0,x.wY)((0,x.Vu)(e)),asQuery:(0,o.__assign)((0,o.__assign)({},e),{definitions:e.definitions.map((function(e){return”OperationDefinition”===e.kind&&”query”!==e.operation?(0,o.__assign)((0,o.__assign)({},e),{operation:”query”}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,o.__assign)((0,o.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,o.__assign)((0,o.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new te(this),n=new U({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,a.V1)(e.query,28),(0,a.V1)(“Document”===e.query.kind,29),(0,a.V1)(!e.returnPartialData,30),(0,a.V1)(!e.pollInterval,31),this.fetchQuery(t,(0,o.__assign)((0,o.__assign)({},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}),this.cancelPendingFetches((0,a.vA)(32)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=R.pT.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,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach((function(e){“string”==typeof e?n.set(e,!1):(0,S.Kc)(e)?n.set(t.transform(e),!1):(0,_.U)(e)&&e.query&&i.add(e)})),this.queries.forEach((function(t,o){var a=t.observableQuery,i=t.document;if(a){if(“all”===e)return void r.set(o,a);var c=a.queryName;if(“standby”===a.options.fetchPolicy||”active”===e&&!a.hasObservers())return;(“active”===e||c&&n.has(c)||i&&n.has(i))&&(r.set(o,a),c&&n.set(c,!0),i&&n.set(i,!0))}})),i.size&&i.forEach((function(e){var n=(0,E.v)(“legacyOneTimeQuery”),i=t.getQuery(n).init({document:e.query,variables:e.variables}),c=new U({queryManager:t,queryInfo:i,options:(0,o.__assign)((0,o.__assign)({},e),{fetchPolicy:”network-only”})});(0,a.V1)(c.queryId===n),i.setObservableQuery(c),r.set(n,c)})),n.size&&n.forEach((function(e,t){e||a.V1.warn(“string”==typeof t?33:34,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,o){var a=n.options.fetchPolicy;n.resetLastResults(),(e||”standby”!==a&&”cache-only”!==a)&&r.push(n.refetch()),t.getQuery(o).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,o=e.errorPolicy,a=void 0===o?”none”:o,i=e.variables,c=e.context,s=void 0===c?{}:c;r=this.transform(r),i=this.getVariables(r,i);var u=function(e){return t.getObservableFromLink(r,s,e).map((function(o){“no-cache”!==n&&(re(o,a)&&t.cache.write({query:r,result:o.data,dataId:”ROOT_SUBSCRIPTION”,variables:e}),t.broadcastQueries());var i=w(o),c=(0,I.uR)(o);if(i||c){var s={};if(i&&(s.graphQLErrors=o.errors),c&&(s.protocolErrors=o.extensions[I.K$]),”none”===a||c)throw new I.K4(s)}return”ignore”===a&&delete o.errors,o}))};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,i,s).then(u);return new g.c((function(e){var t=null;return l.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(i)},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,n){var a,i,s=this;void 0===n&&(n=null!==(a=null==t?void 0:t.queryDeduplication)&&void 0!==a?a:this.queryDeduplication);var u=this.getDocumentInfo(e),l=u.serverQuery,f=u.clientQuery;if(l){var d=this.inFlightLinkObservables,p=this.link,v={query:l,variables:r,operationName:(0,x.n4)(l)||void 0,context:this.prepareContext((0,o.__assign)((0,o.__assign)({},t),{forceFetch:!n}))};if(t=v.context,n){var m=(0,ne.y)(l),y=d.get(m)||new Map;d.set(m,y);var w=(0,h.M)(r);if(!(i=y.get(w))){var k=new C([c(p,v)]);y.set(w,i=k),k.beforeNext((function(){y.delete(w)&&y.size<1&&d.delete(m)}))}}else i=new C([c(p,v)])}else i=new C([g.c.of({data:{}})]),t=this.prepareContext(t);return f&&(i=b(i,(function(e){return s.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})}))),i},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return b(this.getObservableFromLink(o,r.context,r.variables),(function(a){var i=k(a),c=i.length>0;if(n>=e.lastRequestId){if(c&&”none”===r.errorPolicy)throw e.markError(new I.K4({graphQLErrors:i,extraInfo:{extensions:a.extensions}}));e.markResult(a,o,r,t),e.markReady()}var s={data:a.data,loading:!1,networkStatus:R.pT.ready};return c&&”ignore”!==r.errorPolicy&&(s.errors=i,s.networkStatus=R.pT.error),s}),(function(t){var r=(0,I.Mn)(t)?t:new I.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var o=this;void 0===r&&(r=R.pT.loading),void 0===n&&(n=t.query);var a,i,c=this.getVariables(n,t.variables),s=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||”cache-first”:l,d=t.errorPolicy,p=void 0===d?u&&u.errorPolicy||”none”:d,h=t.returnPartialData,v=void 0!==h&&h,m=t.notifyOnNetworkStatusChange,g=void 0!==m&&m,b=t.context,y=void 0===b?{}:b,w=Object.assign({},t,{query:n,variables:c,fetchPolicy:f,errorPolicy:p,returnPartialData:v,notifyOnNetworkStatusChange:g,context:y}),k=function(e){w.variables=e;var n=o.fetchQueryByPolicy(s,w,r);return”standby”!==w.fetchPolicy&&n.sources.length>0&&s.observableQuery&&s.observableQuery.applyNextFetchPolicy(“after-fetch”,t),n},x=function(){return o.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){x(),setTimeout((function(){return a.cancel(e)}))})),this.getDocumentInfo(w.query).hasClientExports)a=new C(this.localState.addExportedVariables(w.query,w.variables,w.context).then(k).then((function(e){return e.sources}))),i=!0;else{var S=k(w.variables);i=S.fromLink,a=new C(S.sources)}return a.promise.then(x,x),{concast:a,fromLink:i}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,o=e.optimistic,a=void 0!==o&&o,i=e.removeOptimistic,c=void 0===i?a?(0,E.v)(“refetchQueries”):void 0:i,s=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:a&&c||!1,removeOptimistic:c,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof te&&e.watcher.observableQuery;if(n){if(s){u.delete(n.queryId);var o=s(n,t,r);return!0===o&&(o=n.refetch()),!1!==o&&l.set(n,o),o}null!==s&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var n,o=e.oq,a=e.lastDiff,i=e.diff;if(s){if(!i){var c=o.queryInfo;c.reset(),i=c.getDiff()}n=s(o,i,a)}s&&!0!==n||(n=o.refetch()),!1!==n&&l.set(o,n),r.indexOf(“legacyOneTimeQuery”)>=0&&t.stopQueryNoBroadcast(r)})),c&&this.cache.removeOptimistic(c),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,a=t.query,i=t.variables,c=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,f=t.returnPartialData,d=t.context,p=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:a,variables:i,networkStatus:r});var v=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||R.pT.loading);var c=t.result;f||(0,l.L)(c,{})||q(t.missing);var s=function(e){return g.c.of((0,o.__assign)({data:e,loading:(0,R.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return c&&n.getDocumentInfo(a).hasForcedResolvers?n.localState.runResolvers({document:a,remoteResult:{data:c},context:d,variables:i,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):”none”===u&&r===R.pT.refetch&&Array.isArray(t.missing)?s(void 0):s(c)},b=”no-cache”===c?0:r===R.pT.refetch&&”merge”!==s?1:2,y=function(){return n.getResultsFromLink(e,b,{query:a,variables:i,context:d,fetchPolicy:c,errorPolicy:u})},w=p&&”number”==typeof h&&h!==r&&(0,R.bi)(r);switch(c){default:case”cache-first”:return(k=v()).complete?{fromLink:!1,sources:[m(k,e.markReady())]}:f||w?{fromLink:!0,sources:[m(k),y()]}:{fromLink:!0,sources:[y()]};case”cache-and-network”:var k;return(k=v()).complete||f||w?{fromLink:!0,sources:[m(k),y()]}:{fromLink:!0,sources:[y()]};case”cache-only”:return{fromLink:!1,sources:[m(v(),e.markReady())]};case”network-only”:return w?{fromLink:!0,sources:[m(v()),y()]}:{fromLink:!0,sources:[y()]};case”no-cache”:return w?{fromLink:!0,sources:[m(e.getDiff()),y()]}:{fromLink:!0,sources:[y()]};case”standby”:return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new te(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,o.__assign)((0,o.__assign)({},t),{clientAwareness:this.clientAwareness})},e}(),ie=r(15228),ce=!1,se=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,a.vA)(15);var r=e.uri,o=e.credentials,c=e.headers,l=e.cache,f=e.documentTransform,d=e.ssrMode,p=void 0!==d&&d,h=e.ssrForceFetchDelay,v=void 0===h?0:h,m=e.connectToDevTools,g=void 0===m?”object”===(“undefined”==typeof window?”undefined”:(0,n.A)(window))&&!window.__APOLLO_CLIENT__&&!0:m,b=e.queryDeduplication,y=void 0===b||b,w=e.defaultOptions,k=e.assumeImmutableResults,x=void 0===k?l.assumeImmutableResults:k,S=e.resolvers,_=e.typeDefs,E=e.fragmentMatcher,A=e.name,O=e.version,T=e.link;T||(T=r?new u.P({uri:r,credentials:o,headers:c}):i.C.empty()),this.link=T,this.cache=l,this.disableNetworkFetches=p||v>0,this.queryDeduplication=y,this.defaultOptions=w||Object.create(null),this.typeDefs=_,v&&setTimeout((function(){return t.disableNetworkFetches=!1}),v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new X({cache:l,client:this,resolvers:S,fragmentMatcher:E}),this.queryManager=new ae({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:f,queryDeduplication:y,ssrMode:p,clientAwareness:{name:A,version:O},localState:this.localState,assumeImmutableResults:x,onBroadcast:g?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.maybeWrapResultInProxy=e.maybeWrapResultInProxy,g&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if(“object”===(“undefined”==typeof window?”undefined”:(0,n.A)(window))){var e=window,t=Symbol.for(“apollo.devtools”);(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}ce||(ce=!0,setTimeout((function(){if(“undefined”!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;”string”==typeof t&&(t.indexOf(“Chrome/”)>-1?r=”https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm”:t.indexOf(“Firefox/”)>-1&&(r=”https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/”)),r&&a.V1.log(“Download the Apollo DevTools for a better development experience: %s”,r)}}),1e4))},Object.defineProperty(e.prototype,”documentTransform”,{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,ie.l)(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||”network-only”!==e.fetchPolicy&&”cache-and-network”!==e.fetchPolicy||(e=(0,o.__assign)((0,o.__assign)({},e),{fetchPolicy:”cache-first”})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ie.l)(this.defaultOptions.query,e)),(0,a.V1)(“cache-and-network”!==e.fetchPolicy,16),this.disableNetworkFetches&&”network-only”===e.fetchPolicy&&(e=(0,o.__assign)((0,o.__assign)({},e),{fetchPolicy:”cache-first”})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ie.l)(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 c(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){a.V1.debug(17,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}()},789907:function(e,t,r){“use strict”;var n;function o(e){return!!e&&e<7}function a(e){return 7===e||8===e}r.d(t,{D2:function(){return a},bi:function(){return o},pT:function(){return n}}),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={}))},535807:function(e,t,r){"use strict";r.d(t,{K$:function(){return a},K4:function(){return s},Mn:function(){return c},uR:function(){return i}});var n=r(331635),o=(r(807289),r(443188)),a=Symbol();function i(e){return!!e.extensions&&Array.isArray(e.extensions[a])}function c(e){return e.hasOwnProperty("graphQLErrors")}var s=function(e){function t(r){var a,i,c=r.graphQLErrors,s=r.protocolErrors,u=r.clientErrors,l=r.networkError,f=r.errorMessage,d=r.extraInfo,p=e.call(this,f)||this;return p.name="ApolloError",p.graphQLErrors=c||[],p.protocolErrors=s||[],p.clientErrors=u||[],p.networkError=l||null,p.message=f||(a=p,i=(0,n.__spreadArray)((0,n.__spreadArray)((0,n.__spreadArray)([],a.graphQLErrors,!0),a.clientErrors,!0),a.protocolErrors,!0),a.networkError&&i.push(a.networkError),i.map((function(e){return(0,o.U)(e)&&e.message||"Error message not found."})).join("\n")),p.extraInfo=d,p.__proto__=t.prototype,p}return(0,n.__extends)(t,e),t}(Error)},507215:function(e,t,r){"use strict";r.d(t,{z:function(){return g}});var n=r(331635),o=r(380355),a=r(877622),i=r(753722),c=r(973401),s=r(53648),u=r(590502),l=r(861466),f=r(564811),d=r(822932),p=r(86066),h=function(){function e(e){var t=e.batchDebounce,r=e.batchInterval,n=e.batchMax,o=e.batchHandler,a=e.batchKey;this.batchesByKey=new Map,this.scheduledBatchTimerByKey=new Map,this.batchDebounce=t,this.batchInterval=r,this.batchMax=n||0,this.batchHandler=o,this.batchKey=a||function(){return""}}return e.prototype.enqueueRequest=function(e){var t=this,r=(0,n.__assign)((0,n.__assign)({},e),{next:[],error:[],complete:[],subscribers:new Set}),o=this.batchKey(e.operation);return r.observable||(r.observable=new c.c((function(e){var n=t.batchesByKey.get(o);n||t.batchesByKey.set(o,n=new Set);var a=0===n.size,i=0===r.subscribers.size;return r.subscribers.add(e),i&&n.add(r),e.next&&r.next.push(e.next.bind(e)),e.error&&r.error.push(e.error.bind(e)),e.complete&&r.complete.push(e.complete.bind(e)),(a||t.batchDebounce)&&t.scheduleQueueConsumption(o),n.size===t.batchMax&&t.consumeQueue(o),function(){var a;r.subscribers.delete(e)&&r.subscribers.size<1&&n.delete(r)&&n.size<1&&(t.consumeQueue(o),null===(a=n.subscription)||void 0===a||a.unsubscribe())}}))),r.observable},e.prototype.consumeQueue=function(e){void 0===e&&(e="");var t=this.batchesByKey.get(e);if(this.batchesByKey.delete(e),t&&t.size){var r=[],n=[],o=[],a=[],i=[],s=[];t.forEach((function(e){r.push(e.operation),n.push(e.forward),o.push(e.observable),a.push(e.next),i.push(e.error),s.push(e.complete)}));var u=this.batchHandler(r,n)||c.c.of(),l=function(e){i.forEach((function(t){t&&t.forEach((function(t){return t(e)}))}))};return t.subscription=u.subscribe({next:function(e){if(Array.isArray(e)||(e=[e]),a.length!==e.length){var t=new Error("server returned results with length ".concat(e.length,", expected length of ").concat(a.length));return t.result=e,l(t)}e.forEach((function(e,t){a[t]&&a[t].forEach((function(t){return t(e)}))}))},error:l,complete:function(){s.forEach((function(e){e&&e.forEach((function(e){return e()}))}))}}),o}},e.prototype.scheduleQueueConsumption=function(e){var t=this;clearTimeout(this.scheduledBatchTimerByKey.get(e)),this.scheduledBatchTimerByKey.set(e,setTimeout((function(){t.consumeQueue(e),t.scheduledBatchTimerByKey.delete(e)}),this.batchInterval))},e}(),v=function(e){function t(t){var r=e.call(this)||this,n=t||{},o=n.batchDebounce,a=n.batchInterval,i=void 0===a?10:a,c=n.batchMax,s=void 0===c?0:c,u=n.batchHandler,l=void 0===u?function(){return null}:u,f=n.batchKey,d=void 0===f?function(){return""}:f;return r.batcher=new h({batchDebounce:o,batchInterval:i,batchMax:s,batchHandler:l,batchKey:d}),t.batchHandler.length<=1&&(r.request=function(e){return r.batcher.enqueueRequest({operation:e})}),r}return(0,n.__extends)(t,e),t.prototype.request=function(e,t){return this.batcher.enqueueRequest({operation:e,forward:t})},t}(o.C),m=r(156820),g=function(e){function t(t){var r=e.call(this)||this,o=t||{},h=o.uri,g=void 0===h?"/graphql":h,b=o.fetch,y=o.print,w=void 0===y?u.i1:y,k=o.includeExtensions,x=o.preserveHeaderCase,S=o.batchInterval,_=o.batchDebounce,E=o.batchMax,A=o.batchKey,O=o.includeUnusedVariables,T=void 0!==O&&O,C=(0,n.__rest)(o,["uri","fetch","print","includeExtensions","preserveHeaderCase","batchInterval","batchDebounce","batchMax","batchKey","includeUnusedVariables"]);(0,l.S)(b),b||(b=fetch);var I={http:{includeExtensions:k,preserveHeaderCase:x},options:C.fetchOptions,credentials:C.credentials,headers:C.headers};r.batchDebounce=_,r.batchInterval=S||10,r.batchMax=E||10;return A=A||function(e){var t=e.getContext(),r={http:t.http,options:t.fetchOptions,credentials:t.credentials,headers:t.headers};return(0,f.z)(e,g)+JSON.stringify(r)},r.batcher=new v({batchDebounce:r.batchDebounce,batchInterval:r.batchInterval,batchMax:r.batchMax,batchKey:A,batchHandler:function(e){var t=(0,f.z)(e[0],g),r=e[0].getContext(),o={};if(r.clientAwareness){var l=r.clientAwareness,h=l.name,v=l.version;h&&(o["apollographql-client-name"]=h),v&&(o["apollographql-client-version"]=v)}var y={http:r.http,options:r.fetchOptions,credentials:r.credentials,headers:(0,n.__assign)((0,n.__assign)({},o),r.headers)},k=e.map((function(e){var t=e.query;return(0,a.d8)(["client"],t)?(0,i.er)(t):t}));if(k.some((function(e){return!e})))return(0,s.N)(new Error("BatchHttpLink: 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 enable the `transformOptions.removeClientFields` option."));var x,S=e.map((function(e,t){var r=(0,u.HY)((0,n.__assign)((0,n.__assign)({},e),{query:k[t]}),w,u.R4,I,y);return r.body.variables&&!T&&(r.body.variables=(0,m.X)(r.body.variables,e.query)),r})),_=S.map((function(e){return e.body})),E=S[0].options;if("GET"===E.method)return(0,s.N)(new Error("apollo-link-batch-http does not support GET requests"));try{E.body=(0,d.Y)(_,"Payload")}catch(e){return(0,s.N)(e)}return E.signal||"undefined"==typeof AbortController||(x=new AbortController,E.signal=x.signal),new c.c((function(r){return b(t,E).then((function(t){return e.forEach((function(e){return e.setContext({response:t})})),t})).then((0,p.OQ)(e)).then((function(e){var t,n=window.__twilightPerfBatch;return n&&(t=n()),x=void 0,r.next(e),r.complete(),t&&t(),e})).catch((function(e){x=void 0,e.result&&e.result.errors&&e.result.data&&r.next(e.result),r.error(e)})),function(){x&&x.abort()}}))}}),r}return(0,n.__extends)(t,e),t.prototype.request=function(e){return this.batcher.request(e)},t}(o.C)},380355:function(e,t,r){"use strict";r.d(t,{C:function(){return l}});var n=r(807289),o=r(973401),a=r(331635);var i=r(776188);function c(e,t){return t?t(e):o.c.of()}function s(e){return"function"==typeof e?new l(e):e}function u(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 o.c.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(s).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var a=s(r),i=s(n||new e(c));return u(a)&&u(i)?new e((function(e){return t(e)?a.request(e)||o.c.of():i.request(e)||o.c.of()})):new e((function(e,r){return t(e)?a.request(e,r)||o.c.of():i.request(e,r)||o.c.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=(0,a.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"==typeof e?(0,a.__assign)((0,a.__assign)({},r),e(r)):(0,a.__assign)((0,a.__assign)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,a.__assign)({},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,i.n4)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,o=Object.keys(e);r-1;){if(S=void 0,I=[d.slice(0,x),d.slice(x+f.length)],d=I[1],_=(S=I[0]).indexOf(“\r\n\r\n”),E=p(S.slice(0,_)),(A=E[“content-type”])&&-1===A.toLowerCase().indexOf(“application/json”))throw new Error(“Unsupported patch content type: application/json is required.”);if(O=S.slice(_))if(T=h(e,O),Object.keys(T).length>1||”data”in T||”incremental”in T||”errors”in T||”payload”in T)(0,l.Nw)(T)?(C={},”payload”in T&&(C=(0,n.__assign)({},T.payload)),”errors”in T&&(C=(0,n.__assign)((0,n.__assign)({},C),{extensions:(0,n.__assign)((0,n.__assign)({},”extensions”in C?C.extensions:null),(R={},R[u.K$]=T.errors,R))})),t(C)):t(T);else if(1===Object.keys(T).length&&”hasNext”in T&&!T.hasNext)return[2];x=d.indexOf(f)}return[3,1];case 3:return[2]}}))}))}function p(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(),o=e.slice(r+1).trim();t[n]=o}})),t}function h(e,t){if(e.status>=300){s(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 m(e){return function(t){return t.text().then((function(e){return h(t,e)})).then((function(r){return t.status>=300&&s(t,r,”Response not successful: Received status code “.concat(t.status)),Array.isArray(r)||f.call(r,”data”)||f.call(r,”errors”)||s(t,r,”Server response was missing for query ‘”.concat(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName,”‘.”)),r}))}}},590502:function(e,t,r){“use strict”;r.d(t,{HY:function(){return c},R4:function(){return a},i1:function(){return i}});var n=r(331635),o=r(80928),a={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:”*/*”,”content-type”:”application/json”},options:{method:”POST”}},i=function(e,t){return t(e)};function c(e,t){for(var r=[],a=2;a=0&&r.indexOf(o,s)===s))}return!1}function f(e){return Object.keys(e).filter(d,e)}function d(e){return void 0!==this[e]}t.A=u;var p=”{ [native code] }”;function h(e,t){var r=s.get(e);if(r){if(r.has(t))return!0}else s.set(e,r=new Set);return r.add(t),!1}},671713:function(e,t,r){“use strict”;r.d(t,{l:function(){return c}});var n=r(296540),o=r(314479),a=r(807289),i=o.ol?Symbol.for(“__APOLLO_CONTEXT__”):”__APOLLO_CONTEXT__”;function c(){(0,a.V1)(!0,45);var e=n.createContext[i];return e||(Object.defineProperty(n.createContext,i,{value:e=n.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName=”ApolloContext”),e}},139913:function(e,t,r){“use strict”;r.d(t,{X:function(){return c}});var n=r(331635),o=r(807289),a=r(296540),i=r(671713),c=function(e){var t=e.client,r=e.children,c=(0,i.l)(),s=a.useContext(c),u=a.useMemo((function(){return(0,n.__assign)((0,n.__assign)({},s),{client:t||s.client})}),[s,t]);return(0,o.V1)(u.client,46),a.createElement(c.Provider,{value:u},r)}},184951:function(e,t,r){“use strict”;r.d(t,{D$:function(){return s},K3:function(){return c},KG:function(){return n}});var n,o=r(807289);!function(e){e[e.Query=0]=”Query”,e[e.Mutation=1]=”Mutation”,e[e.Subscription=2]=”Subscription”}(n||(n={}));var a=new Map;function i(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 c(e){var t,r,i=a.get(e);if(i)return i;(0,o.V1)(!!e&&!!e.kind,59,e);for(var c=[],s=[],u=[],l=[],f=0,d=e.definitions;f0}},314479:function(e,t,r){“use strict”;r.d(t,{En:function(){return a},JR:function(){return l},et:function(){return o},ol:function(){return i},uJ:function(){return c}});var n=r(807289),o=”function”==typeof WeakMap&&”ReactNative”!==(0,n.no)((function(){return navigator.product})),a=”function”==typeof WeakSet,i=”function”==typeof Symbol&&”function”==typeof Symbol.for,c=i&&Symbol.asyncIterator,s=”function”==typeof(0,n.no)((function(){return window.document.createElement})),u=(0,n.no)((function(){return navigator.userAgent.indexOf(“jsdom”)>=0}))||!1,l=s&&!u},620755:function(e,t,r){“use strict”;r.d(t,{m:function(){return o}});var n=Object.prototype.toString;function o(e){return a(e)}function a(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]=a(e,t)})),r;case”[object Object]”:if((t=t||new Map).has(e))return t.get(e);var o=Object.create(Object.getPrototypeOf(e));return t.set(e,o),Object.keys(e).forEach((function(r){o[r]=a(e[r],t)})),o;default:return e}}},401317:function(e,t,r){“use strict”;function n(){for(var e=[],t=0;t=0;–a){var i=o[a],c=!isNaN(+i)?[]:{};c[i]=t,t=c}r=n.merge(r,t)})),r}},252430:function(e,t,r){“use strict”;r.d(t,{v:function(){return o}});var n=new Map;function o(e){var t=n.get(e)||1;return n.set(e,t+1),””.concat(e,”:”).concat(t,”:”).concat(Math.random().toString(36).slice(2))}},368105:function(e,t,r){“use strict”;r.d(t,{G:function(){return a}});var n=r(443188);function o(e){var t=new Set([e]);return t.forEach((function(e){(0,n.U)(e)&&function(e){if(!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){(0,n.U)(e[r])&&t.add(e[r])}))})),e}function a(e){return o(e),e}},440262:function(e,t,r){“use strict”;r.d(t,{D9:function(){return i},IM:function(){return c},ZI:function(){return u}});var n=r(331635),o=r(443188),a=Object.prototype.hasOwnProperty;function i(){for(var e=[],t=0;t1)for(var n=new u,o=1;o“)}},807289:function(e,t,r){“use strict”;r.d(t,{V1:function(){return g},no:function(){return p},vA:function(){return b}});var n=r(331635),o=”Invariant Violation”,a=Object.setPrototypeOf,i=void 0===a?function(e,t){return e.__proto__=t,e}:a,c=function(e){function t(r){void 0===r&&(r=o);var n=e.call(this,”number”==typeof r?o+”: “+r+” (see https://github.com/apollographql/invariant-packages)”:r)||this;return n.framesToPop=1,n.name=o,i(n,t.prototype),n}return(0,n.__extends)(t,e),t}(Error);function s(e,t){if(!e)throw new c(t)}var u=[“debug”,”log”,”warn”,”error”,”silent”],l=u.indexOf(“log”);function f(e){return function(){if(u.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f(“debug”),e.log=f(“log”),e.warn=f(“warn”),e.error=f(“error”)}(s||(s={}));var d=r(357679);function p(e){try{return e()}catch(e){}}var h=p((function(){return globalThis}))||p((function(){return window}))||p((function(){return self}))||p((function(){return global}))||p((function(){return p.constructor(“return this”)()})),v=r(147110);function m(e){return function(t){for(var r=[],n=1;n80&&(s=i+u(“(\n”,l(c(n,”\n”)),”\n)”)),c([s,c(o,” “),a],” “)},Argument:function(e){return e.name+”: “+e.value},FragmentSpread:function(e){return”…”+e.name+u(” “,c(e.directives,” “))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return c([“…”,u(“on “,t),c(r,” “),n],” “)},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,o=e.directives,a=e.selectionSet;return”fragment “.concat(t).concat(u(“(“,c(n,”, “),”)”),” “)+”on “.concat(r,” “).concat(u(“”,c(o,” “),” “))+a},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,o.yo)(r,”description”===t?””:” “):JSON.stringify(r)},BooleanValue:function(e){return e.value?”true”:”false”},NullValue:function(){return”null”},EnumValue:function(e){return e.value},ListValue:function(e){return”[“+c(e.values,”, “)+”]”},ObjectValue:function(e){return”{“+c(e.fields,”, “)+”}”},ObjectField:function(e){return e.name+”: “+e.value},Directive:function(e){return”@”+e.name+u(“(“,c(e.arguments,”, “),”)”)},NamedType:function(e){return e.name},ListType:function(e){return”[“+e.type+”]”},NonNullType:function(e){return e.type+”!”},SchemaDefinition:i((function(e){var t=e.directives,r=e.operationTypes;return c([“schema”,c(t,” “),s(r)],” “)})),OperationTypeDefinition:function(e){return e.operation+”: “+e.type},ScalarTypeDefinition:i((function(e){return c([“scalar”,e.name,c(e.directives,” “)],” “)})),ObjectTypeDefinition:i((function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return c([“type”,t,u(“implements “,c(r,” & “)),c(n,” “),s(o)],” “)})),FieldDefinition:i((function(e){var t=e.name,r=e.arguments,n=e.type,o=e.directives;return t+(d(r)?u(“(\n”,l(c(r,”\n”)),”\n)”):u(“(“,c(r,”, “),”)”))+”: “+n+u(” “,c(o,” “))})),InputValueDefinition:i((function(e){var t=e.name,r=e.type,n=e.defaultValue,o=e.directives;return c([t+”: “+r,u(“= “,n),c(o,” “)],” “)})),InterfaceTypeDefinition:i((function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return c([“interface”,t,u(“implements “,c(r,” & “)),c(n,” “),s(o)],” “)})),UnionTypeDefinition:i((function(e){var t=e.name,r=e.directives,n=e.types;return c([“union”,t,c(r,” “),n&&0!==n.length?”= “+c(n,” | “):””],” “)})),EnumTypeDefinition:i((function(e){var t=e.name,r=e.directives,n=e.values;return c([“enum”,t,c(r,” “),s(n)],” “)})),EnumValueDefinition:i((function(e){return c([e.name,c(e.directives,” “)],” “)})),InputObjectTypeDefinition:i((function(e){var t=e.name,r=e.directives,n=e.fields;return c([“input”,t,c(r,” “),s(n)],” “)})),DirectiveDefinition:i((function(e){var t=e.name,r=e.arguments,n=e.repeatable,o=e.locations;return”directive @”+t+(d(r)?u(“(\n”,l(c(r,”\n”)),”\n)”):u(“(“,c(r,”, “),”)”))+(n?” repeatable”:””)+” on “+c(o,” | “)})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return c([“extend schema”,c(t,” “),s(r)],” “)},ScalarTypeExtension:function(e){return c([“extend scalar”,e.name,c(e.directives,” “)],” “)},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return c([“extend type”,t,u(“implements “,c(r,” & “)),c(n,” “),s(o)],” “)},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,o=e.fields;return c([“extend interface”,t,u(“implements “,c(r,” & “)),c(n,” “),s(o)],” “)},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return c([“extend union”,t,c(r,” “),n&&0!==n.length?”= “+c(n,” | “):””],” “)},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return c([“extend enum”,t,c(r,” “),s(n)],” “)},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c([“extend input”,t,c(r,” “),s(n)],” “)}};function i(e){return function(t){return c([t.description,e(t)],”\n”)}}function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:””;return null!==(t=null==e?void 0:e.filter((function(e){return e})).join(r))&&void 0!==t?t:””}function s(e){return u(“{\n”,l(c(e,”\n”)),”\n}”)}function u(e,t){return null!=t&&””!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:””):””}function l(e){return u(” “,e.replace(/\n/g,”\n “))}function f(e){return-1!==e.indexOf(“\n”)}function d(e){return null!=e&&e.some(f)}var p=r(314479).et?new WeakMap:void 0,h=function(e){var t;return(t=null==p?void 0:p.get(e))||(t=function(e){return(0,n.YR)(e,{leave:a})}(e),null==p||p.set(e,t)),t}},728982:function(e,t,r){“use strict”;r.d(t,{A_:function(){return s},D$:function(){return b},Ii:function(){return f},J:function(){return l},Kc:function(){return u},MB:function(){return m},WU:function(){return c},dt:function(){return y},kd:function(){return w},o5:function(){return p},ue:function(){return g}});var n=r(282284),o=r(807289),a=r(443188),i=r(642195);function c(e){return{__ref:String(e)}}function s(e){return Boolean(e&&”object”===(0,n.A)(e)&&”string”==typeof e.__ref)}function u(e){return(0,a.U)(e)&&”Document”===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,n){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 a={};r.fields.map((function(e){return l(a,e.name,e.value,n)})),e[t.value]=a}else if(function(e){return”Variable”===e.kind}(r)){var i=(n||{})[r.name.value];e[t.value]=i}else if(function(e){return”ListValue”===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return l(r,t,e,n),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,o.vA)(81,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 o=n.name,a=n.value;return l(r[e.name.value],o,a,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,o=e.value;return l(n,r,o,t)}))),p(e.name.value,n,r)}var d=[“connection”,”include”,”skip”,”client”,”rest”,”export”,”nonreactive”],p=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var o={};return n.forEach((function(e){o[e]=t[e]})),””.concat(r.connection.key,”(“).concat(h(o),”)”)}return r.connection.key}var a=e;if(t){var i=h(t);a+=”(“.concat(i,”)”)}return r&&Object.keys(r).forEach((function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+=”@”.concat(e,”(“).concat(h(r[e]),”)”):a+=”@”.concat(e))})),a}),{setStringify:function(e){var t=h;return h=e,t}}),h=function(e){return JSON.stringify(e,v)};function v(e,t){return(0,a.U)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function m(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,o=e.value;return l(r,n,o,t)})),r}return null}function g(e){return e.alias?e.alias.value:e.name.value}function b(e,t,r){for(var n,o=0,a=t.selections;o=0;–d)t.definitions[d].kind===a.b.OPERATION_DEFINITION&&++f;var m=h(e),g=function(e){return(0,l.E)(e)&&e.map(m).some((function(e){return e&&e.remove}))},b=new Map,y=!1,w={enter:function(e){if(g(e.directives))return y=!0,null}},k=(0,i.YR)(t,{Field:w,InlineFragment:w,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,o){var a=u(o);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,o){if(g(e.directives))return y=!0,null;var a=u(o);a&&a.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===a.b.FIELD&&”__typename”===e.name.value}))?(s(e.name.value).removed=!0,y=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return y=!0,null}}});if(!y)return t;var x=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){x(s(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},S=new Set;k.definitions.forEach((function(e){e.kind===a.b.OPERATION_DEFINITION?x(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){S.add(e)})):e.kind!==a.b.FRAGMENT_DEFINITION||0!==f||s(e.name.value).removed||S.add(e.name.value)})),S.forEach((function(e){x(s(e)).fragmentSpreads.forEach((function(e){S.add(e)}))}));var _={enter:function(e){if(t=e.name.value,!S.has(t)||s(t).removed)return null;var t}};return p((0,i.YR)(k,{FragmentSpread:_,FragmentDefinition:_,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=x(r(e.name&&e.name.value)).transitiveVars;if(t.size0){for(var r in e)if(Pe(e[r])==Pe(t))return!0;return!1}return!!Ie(e)&&-1!==Pe(t).indexOf(Pe(e))},Ce=function(e,t){for(var r in e)return/^(browser|cpu|device|engine|os)$/.test(r)||!!t&&Ce(e[r])},Ie=function(e){return(0,o.A)(e)===f},Re=function(e){if(e){for(var t=[],r=Ne(/\\?\”/g,e).split(“,”),n=0;n-1){var o=je(r[n]).split(“;v=”);t[n]={brand:o[0],version:o[1]}}else t[n]=je(r[n]);return t}},Pe=function(e){return Ie(e)?e.toLowerCase():e},Me=function(e){return Ie(e)?Ne(/[^\d\.]/g,e).split(“.”)[0]:void 0},De=function(e){for(var t in e){var r=e[t];(0,o.A)(r)==l&&2==r.length?this[r[0]]=r[1]:this[r]=void 0}return this},Ne=function(e,t){return Ie(t)?t.replace(e,c):t},Le=function(e){return Ne(/\\?\”/g,e)},je=function(e,t){if(Ie(e))return e=Ne(/^\s\s*/,e),(0,o.A)(t)===u?e:e.substring(0,a)},Fe=function(e,t){if(e&&t)for(var r,n,a,i,c,u,f=0;f0?2===i.length?(0,o.A)(i[1])==s?this[i[0]]=i[1].call(this,u):this[i[0]]=i[1]:3===i.length?(0,o.A)(i[1])!==s||i[1].exec&&i[1].test?this[i[0]]=u?u.replace(i[1],i[2]):void 0:this[i[0]]=u?i[1].call(this,u,i[2]):void 0:4===i.length&&(this[i[0]]=u?i[3].call(this,u.replace(i[1],i[2])):void 0):this[i]=u||void 0;f+=2}},ze=function(e,t){for(var r in t)if((0,o.A)(t[r])===l&&t[r].length>0){for(var n=0;n2&&this.set(_,”iPad”).set(y,O);break;case m:!this.get(b)&&Ee&&Ee[L]&&this.set(b,Ee[L]);break;case g:var e=this.data,t=function(t){return e[t].getItem().detectFeature().get()};this.set(d,t(d)).set(p,t(p)).set(h,t(h)).set(v,t(v)).set(m,t(m))}return this},this.parseUA=function(){return this.itemType!=g&&Fe.call(this.data,this.ua,this.rgxMap),this.itemType==d&&this.set(S,Me(this.get(k))),this},this.parseCH=function(){var e=this.uaCH,t=this.rgxMap;switch(this.itemType){case d:case v:var r,n=e[N]||e[M];if(n)for(var o in n){var a=n[o].brand||n[o],i=n[o].version;this.itemType!=d||/not.a.brand/i.test(a)||r&&(!/chrom/i.test(r)||a==ve)||(a=ze(a,{Chrome:”Google Chrome”,Edge:”Microsoft Edge”,”Chrome WebView”:”Android WebView”,”Chrome Headless”:”HeadlessChrome”,”Huawei Browser”:”HuaweiBrowser”,”MIUI Browser”:”Miui Browser”,”Opera Mobi”:”OperaMobile”,Yandex:”YaBrowser”}),this.set(b,a).set(k,i).set(S,Me(i)),r=a),this.itemType==v&&a==ve&&this.set(k,i)}break;case p:var c=e[x];c&&(c&&”64″==e[F]&&(c+=”64″),Fe.call(this.data,c+”;”,t));break;case h:if(e[A]&&this.set(y,A),e[_]&&(this.set(_,e[_]),!this.get(y)||!this.get(w))){var s={};Fe.call(s,”droid 9; “+e[_]+”)”,t),!this.get(y)&&s.type&&this.set(y,s.type),!this.get(w)&&s.vendor&&this.set(w,s.vendor)}if(e[D]){var u;if(“string”!=typeof e[D])for(var l=0;!u&&l=13?”11″:”10″),this.set(b,f).set(k,E)}this.get(b)==Se&&”Xbox”==e[_]&&this.set(b,”Xbox”).set(k,void 0);break;case g:var O=this.data,T=function(t){return O[t].getItem().setCH(e).parseCH().get()};this.set(d,T(d)).set(p,T(p)).set(h,T(h)).set(v,T(v)).set(m,T(m))}return this},De.call(this,[[“itemType”,e],[“ua”,t],[“uaCH”,n],[“rgxMap”,r],[“data”,qe(this,e)]]),this}function Qe(e,t,r){if((0,o.A)(e)===l?(Ce(e,!0)?((0,o.A)(t)===l&&(r=t),t=e):(r=e,t=void 0),e=void 0):(0,o.A)(e)!==f||Ce(t,!0)||(r=t,t=void 0),r&&(0,o.A)(r.append)===s){var n={};r.forEach((function(e,t){n[t]=e})),r=n}if(!(this instanceof Qe))return new Qe(e,t,r).getResult();var u=(0,o.A)(e)===f?e:r&&r[i]?r[i]:_e&&_e.userAgent?_e.userAgent:c,b=new We(r,!0),y=t?Ae(He,t):He,w=function(e){return e==g?function(){return new $e(e,u,y,b).set(“ua”,u).set(d,this.getBrowser()).set(p,this.getCPU()).set(h,this.getDevice()).set(v,this.getEngine()).set(m,this.getOS()).get()}:function(){return new $e(e,u,y[e],b).parseUA().get()}};return De.call(this,[[“getBrowser”,w(d)],[“getCPU”,w(p)],[“getDevice”,w(h)],[“getEngine”,w(v)],[“getOS”,w(m)],[“getResult”,w(g)],[“getUA”,function(){return u}],[“setUA”,function(e){return Ie(e)&&(u=e.length>a?je(e,a):e),this}]]).setUA(u),this}Qe.VERSION=”2.0.3″,Qe.BROWSER=Oe([b,k,S,y]),Qe.CPU=Oe([x]),Qe.DEVICE=Oe([_,w,y,E,A,T,O,C,R]),Qe.ENGINE=Qe.OS=Oe([b,k])},845345:function(e,t,r){“use strict”;r.d(t,{DX:function(){return d}});var n=r(364467),o=r(23029),a=r(92901),i=null,c={},s=1;function u(e){try{return e()}catch(e){}}var l=”@wry/context:Slot”,f=u((function(){return globalThis}))||u((function(){return global}))||Object.create(null),d=f[l]||Array[l]||function(e){try{Object.defineProperty(f,l,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(function(){return(0,a.A)((function e(){(0,o.A)(this,e),this.id=[“slot”,s++,Date.now(),Math.random().toString(36).slice(2)].join(“:”)}),[{key:”hasValue”,value:function(){for(var e=i;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===c)break;return e!==i&&(i.slots[this.id]=t),!0}return i&&(i.slots[this.id]=c),!1}},{key:”getValue”,value:function(){if(this.hasValue())return i.slots[this.id]}},{key:”withValue”,value:function(e,t,r,o){var a=(0,n.A)({__proto__:null},this.id,e),c=i;i={parent:c,slots:a};try{return t.apply(o,r)}finally{i=c}}}],[{key:”bind”,value:function(e){var t=i;return function(){var r=i;try{return i=t,e.apply(this,arguments)}finally{i=r}}}},{key:”noContext”,value:function(e,t,r){if(!i)return e.apply(r,t);var n=i;try{return i=null,e.apply(r,t)}finally{i=n}}}])}());d.bind,d.noContext},878921:function(e,t,r){“use strict”;r.d(t,{b:function(){return f}});var n=r(282284),o=r(23029),a=r(92901),i=function(){return Object.create(null)},c=Array.prototype,s=c.forEach,u=c.slice,l=Object.prototype.hasOwnProperty,f=function(){function e(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;(0,o.A)(this,e),this.weakness=t,this.makeData=r}return(0,a.A)(e,[{key:”lookup”,value:function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(e)).reduce((function(e,t){return e+=(t&=63)<36?t.toString(36):t<62?(t-26).toString(36).toUpperCase():t>62?”-“:”_”}),””)}},223212:function(e,t,r){“use strict”;r.d(t,{yN:function(){return I},LV:function(){return M}});var n=r(878921),o=r(23029),a=r(92901);function i(){}var c=function(){return(0,a.A)((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1/0,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;(0,o.A)(this,e),this.max=t,this.dispose=r,this.map=new Map,this.newest=null,this.oldest=null}),[{key:”has”,value:function(e){return this.map.has(e)}},{key:”get”,value:function(e){var t=this.getNode(e);return t&&t.value}},{key:”getNode”,value:function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t}},{key:”set”,value:function(e,t){var r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}},{key:”clean”,value:function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}},{key:”delete”,value:function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}])}(),s=new(r(845345).DX);var u=Object.prototype.hasOwnProperty,l=Array.from||function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t};function f(e){var t=e.unsubscribe;”function”==typeof t&&(e.unsubscribe=void 0,t())}var d=[],p=100;function h(e,t){if(!e)throw new Error(t||”assertion failure”)}function v(e){switch(e.length){case 0:throw new Error(“unknown value”);case 1:return e[0];case 2:throw e[1]}}var m=function(){return(0,a.A)((function e(t){(0,o.A)(this,e),this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}),[{key:”peek”,value:function(){if(1===this.value.length&&!y(this))return g(this),this.value[0]}},{key:”recompute”,value:function(e){return h(!this.recomputing,”already recomputing”),g(this),y(this)?function(e,t){A(e),s.withValue(e,b,[e,t]),function(e,t){if(“function”==typeof e.subscribe)try{f(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,y(e))return;k(e)}(e);return v(e.value)}(this,e):v(this.value)}},{key:”setDirty”,value:function(){this.dirty||(this.dirty=!0,this.value.length=0,w(this),f(this))}},{key:”dispose”,value:function(){var e=this;this.setDirty(),A(this),x(this,(function(t,r){t.setDirty(),O(t,e)}))}},{key:”forget”,value:function(){this.dispose()}},{key:”dependOn”,value:function(e){e.add(this),this.deps||(this.deps=d.pop()||new Set),this.deps.add(e)}},{key:”forgetDeps”,value:function(){var e=this;this.deps&&(l(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),d.push(this.deps),this.deps=null)}}])}();function g(e){var t=s.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),y(e)?S(t,e):_(t,e),t}function b(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function y(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function w(e){x(e,S)}function k(e){x(e,_)}function x(e,t){var r=e.parents.size;if(r)for(var n=l(e.parents),o=0;o0&&o===n.length&&r[o-1]===n[o-1]||e.setDirty()),E(e,t),y(e)||k(e)}function E(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(d.length0&&e.childValues.forEach((function(t,r){O(e,r)})),e.forgetDeps(),h(null===e.dirtyChildren)}function O(e,t){t.parents.delete(e),e.childValues.delete(t),E(e,t)}m.count=0;var T,C={setDirty:!0,dispose:!0,forget:!0};function I(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=s.getValue();if(n){var o=t.get(e);o||t.set(e,o=new Set),n.dependOn(o),”function”==typeof r&&(f(o),o.unsubscribe=r(e))}}return n.dirty=function(e,r){var n=t.get(e);if(n){var o=r&&u.call(C,r)?r:”setDirty”;l(n).forEach((function(e){return e[o]()})),t.delete(e),f(n)}},n}function R(){for(var e=T||(T=new n.b(“function”==typeof WeakMap)),t=arguments.length,r=new Array(t),o=0;o1&&void 0!==arguments[1]?arguments[1]:Object.create(null),r=t.max,n=void 0===r?Math.pow(2,16):r,o=t.makeCacheKey,a=void 0===o?R:o,i=t.keyArgs,u=t.subscribe,l=new c(n,(function(e){return e.dispose()})),f=function(){var t=a.apply(null,i?i.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);var r=l.get(t);r||(l.set(t,r=new m(e)),r.subscribe=u,r.forget=function(){return l.delete(t)});var n=r.recompute(Array.prototype.slice.call(arguments));return l.set(t,r),P.add(l),s.hasValue()||(P.forEach((function(e){return e.clean()})),P.clear()),n};function d(e){var t=l.get(e);t&&t.setDirty()}function p(e){var t=l.get(e);if(t)return t.peek()}function h(e){return l.delete(e)}return Object.defineProperty(f,”size”,{get:function(){return l.map.size},configurable:!1,enumerable:!1}),Object.freeze(f.options={max:n,makeCacheKey:a,keyArgs:i,subscribe:u}),f.dirtyKey=d,f.dirty=function(){d(a.apply(null,arguments))},f.peekKey=p,f.peek=function(){return p(a.apply(null,arguments))},f.forgetKey=h,f.forget=function(){return h(a.apply(null,arguments))},f.makeCacheKey=a,f.getKey=i?function(){return a.apply(null,i.apply(null,arguments))}:a,Object.freeze(f)}},677826:function(e,t,r){“use strict”;r.d(t,{A:function(){return l}});var n=r(160436),o=r(205544),a=r(296540);var i=new Set;function c(e){for(var t=0,r=(0,n.A)(i);t2&&void 0!==arguments[2]?arguments[2]:null!==(r=u((function(){return localStorage})))&&void 0!==r?r:sessionStorage,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],f=arguments.length>5&&void 0!==arguments[5]?arguments[5]:s,d=arguments.length>6&&void 0!==arguments[6]?arguments[6]:JSON.stringify,p=(0,a.useRef)({string:null,parsed:t}),h=(0,a.useSyncExternalStore)((0,a.useCallback)((function(t){var r=function(r){e===r&&t()};return i.add(r),function(){i.delete(r)}}),[e]),(function(){var r,o=null!==(r=u((function(){return n.getItem(e)})))&&void 0!==r?r:null;if(o!==p.current.string){var a;try{a=null===o?t:f(o)}catch(e){a=t}p.current.parsed=a}return p.current.string=o,l&&void 0!==t&&null===o&&u((function(){var r=d(t);n.setItem(e,r),p.current={string:r,parsed:t}})),p.current.parsed}),(function(){return t})),v=(0,a.useCallback)((function(t){var r=t instanceof Function?t(p.current.parsed):t;u((function(){return n.setItem(e,d(r))})),c(e)}),[e,n,d]),m=(0,a.useCallback)((function(){u((function(){return n.removeItem(e)})),c(e)}),[e,n]);return(0,a.useEffect)((function(){if(o){var t=function(t){t.key===e&&t.storageArea===u((function(){return n}))&&c(e)};return window.addEventListener(“storage”,t),function(){return window.removeEventListener(“storage”,t)}}}),[e,n,o]),(0,a.useMemo)((function(){return[h,v,m]}),[h,v,m])}(e,(0,o.A)(n,1)[0],null==t?void 0:t.storage,null==t?void 0:t.sync,null==t?void 0:t.storeDefault,null==r?void 0:r.parse,null==r?void 0:r.stringify)}},25006:function(e,t,r){“use strict”;r.d(t,{Pj:function(){return l},vt:function(){return d}});var n=r(599335),o=r(296540),a=r(69242),i=o.useDebugValue,c=a.useSyncExternalStoreWithSelector,s=!1,u=function(e){return e};function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,r=arguments.length>2?arguments[2]:void 0;r&&!s&&(console.warn(“[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from ‘zustand/traditional’. https://github.com/pmndrs/zustand/discussions/1937”),s=!0);var n=c(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,r);return i(n),n}var f=function(e){“function”!=typeof e&&console.warn(“[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from ‘zustand’`.”);var t=”function”==typeof e?(0,n.y)(e):e,r=function(e,r){return l(t,e,r)};return Object.assign(r,t),r},d=function(e){return e?f(e):f}},599335:function(e,t,r){“use strict”;r.d(t,{y:function(){return a}});var n=r(282284),o=function(e){var t,r=new Set,o=function(e,o){var a=”function”==typeof e?e(t):e;if(!Object.is(a,t)){var i=t;t=(null!=o?o:”object”!==(0,n.A)(a)||null===a)?a:Object.assign({},t,a),r.forEach((function(e){return e(t,i)}))}},a=function(){return t},i={setState:o,getState:a,getInitialState:function(){return c},subscribe:function(e){return r.add(e),function(){return r.delete(e)}},destroy:function(){console.warn(“[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected.”),r.clear()}},c=t=e(o,a,i);return i},a=function(e){return e?o(e):o}},380129:function(e,t,r){“use strict”;r.d(t,{A:function(){return c}});var n=r(757637);function o(e){return o=”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},o(e)}var a=10,i=2;function c(e){return s(e,[])}function s(e,t){switch(o(e)){case”string”:return JSON.stringify(e);case”function”:return e.name?”[function “.concat(e.name,”]”):”[function]”;case”object”:return null===e?”null”:function(e,t){if(-1!==t.indexOf(e))return”[Circular]”;var r=[].concat(t,[e]),o=function(e){var t=e[String(n.A)];if(“function”==typeof t)return t;if(“function”==typeof e.inspect)return e.inspect}(e);if(void 0!==o){var c=o.call(e);if(c!==e)return”string”==typeof c?c:s(c,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return”[]”;if(t.length>i)return”[Array]”;for(var r=Math.min(a,e.length),n=e.length-r,o=[],c=0;c1&&o.push(“… “.concat(n,” more items”));return”[“+o.join(“, “)+”]”}(e,r);return function(e,t){var r=Object.keys(e);if(0===r.length)return”{}”;if(t.length>i)return”[“+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,””).replace(/]$/,””);if(“Object”===t&&”function”==typeof e.constructor){var r=e.constructor.name;if(“string”==typeof r&&””!==r)return r}return t}(e)+”]”;var n=r.map((function(r){return r+”: “+s(e[r],t)}));return”{ “+n.join(“, “)+” }”}(e,r)}(e,t);default:return String(e)}}},757637:function(e,t){“use strict”;var r=”function”==typeof Symbol&&”function”==typeof Symbol.for?Symbol.for(“nodejs.util.inspect.custom”):void 0;t.A=r},473559:function(e,t,r){“use strict”;r.d(t,{aZ:function(){return a},ou:function(){return i},Ll:function(){return c}});var n=r(757637);function o(e){var t=e.prototype.toJSON;”function”==typeof t||function(e,t){if(!Boolean(e))throw new Error(null!=t?t:”Unexpected invariant triggered.”)}(0),e.prototype.inspect=t,n.A&&(e.prototype[n.A]=t)}var a=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();o(a);var i=function(){function e(e,t,r,n,o,a,i){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=o,this.value=i,this.prev=a,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function c(e){return null!=e&&”string”==typeof e.kind}o(i)},175995:function(e,t,r){“use strict”;function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,o=0,a=null,i=0;ia&&o(t[i-1]);)–i;return t.slice(a,i).join(“\n”)}function o(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:””,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf(“\n”),o=” “===e[0]||”\t”===e[0],a='”‘===e[e.length-1],i=”\\”===e[e.length-1],c=!n||a||i||r,s=””;return!c||n&&o||(s+=”\n”+t),s+=t?e.replace(/\n/g,”\n”+t):e,c&&(s+=”\n”),'”””‘+s.replace(/”””/g,’\\”””‘)+'”””‘}r.d(t,{i$:function(){return n},yo:function(){return a}})},843298:function(e,t,r){“use strict”;r.d(t,{b:function(){return n}});var n=Object.freeze({NAME:”Name”,DOCUMENT:”Document”,OPERATION_DEFINITION:”OperationDefinition”,VARIABLE_DEFINITION:”VariableDefinition”,SELECTION_SET:”SelectionSet”,FIELD:”Field”,ARGUMENT:”Argument”,FRAGMENT_SPREAD:”FragmentSpread”,INLINE_FRAGMENT:”InlineFragment”,FRAGMENT_DEFINITION:”FragmentDefinition”,VARIABLE:”Variable”,INT:”IntValue”,FLOAT:”FloatValue”,STRING:”StringValue”,BOOLEAN:”BooleanValue”,NULL:”NullValue”,ENUM:”EnumValue”,LIST:”ListValue”,OBJECT:”ObjectValue”,OBJECT_FIELD:”ObjectField”,DIRECTIVE:”Directive”,NAMED_TYPE:”NamedType”,LIST_TYPE:”ListType”,NON_NULL_TYPE:”NonNullType”,SCHEMA_DEFINITION:”SchemaDefinition”,OPERATION_TYPE_DEFINITION:”OperationTypeDefinition”,SCALAR_TYPE_DEFINITION:”ScalarTypeDefinition”,OBJECT_TYPE_DEFINITION:”ObjectTypeDefinition”,FIELD_DEFINITION:”FieldDefinition”,INPUT_VALUE_DEFINITION:”InputValueDefinition”,INTERFACE_TYPE_DEFINITION:”InterfaceTypeDefinition”,UNION_TYPE_DEFINITION:”UnionTypeDefinition”,ENUM_TYPE_DEFINITION:”EnumTypeDefinition”,ENUM_VALUE_DEFINITION:”EnumValueDefinition”,INPUT_OBJECT_TYPE_DEFINITION:”InputObjectTypeDefinition”,DIRECTIVE_DEFINITION:”DirectiveDefinition”,SCHEMA_EXTENSION:”SchemaExtension”,SCALAR_TYPE_EXTENSION:”ScalarTypeExtension”,OBJECT_TYPE_EXTENSION:”ObjectTypeExtension”,INTERFACE_TYPE_EXTENSION:”InterfaceTypeExtension”,UNION_TYPE_EXTENSION:”UnionTypeExtension”,ENUM_TYPE_EXTENSION:”EnumTypeExtension”,INPUT_OBJECT_TYPE_EXTENSION:”InputObjectTypeExtension”})},84705:function(e,t,r){“use strict”;r.d(t,{YR:function(){return c},sP:function(){return i}});var n=r(380129),o=r(473559),a={Name:[],Document:[“definitions”],OperationDefinition:[“name”,”variableDefinitions”,”directives”,”selectionSet”],VariableDefinition:[“variable”,”type”,”defaultValue”,”directives”],Variable:[“name”],SelectionSet:[“selections”],Field:[“alias”,”name”,”arguments”,”directives”,”selectionSet”],Argument:[“name”,”value”],FragmentSpread:[“name”,”directives”],InlineFragment:[“typeCondition”,”directives”,”selectionSet”],FragmentDefinition:[“name”,”variableDefinitions”,”typeCondition”,”directives”,”selectionSet”],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:[“values”],ObjectValue:[“fields”],ObjectField:[“name”,”value”],Directive:[“name”,”arguments”],NamedType:[“name”],ListType:[“type”],NonNullType:[“type”],SchemaDefinition:[“description”,”directives”,”operationTypes”],OperationTypeDefinition:[“type”],ScalarTypeDefinition:[“description”,”name”,”directives”],ObjectTypeDefinition:[“description”,”name”,”interfaces”,”directives”,”fields”],FieldDefinition:[“description”,”name”,”arguments”,”type”,”directives”],InputValueDefinition:[“description”,”name”,”type”,”defaultValue”,”directives”],InterfaceTypeDefinition:[“description”,”name”,”interfaces”,”directives”,”fields”],UnionTypeDefinition:[“description”,”name”,”directives”,”types”],EnumTypeDefinition:[“description”,”name”,”directives”,”values”],EnumValueDefinition:[“description”,”name”,”directives”],InputObjectTypeDefinition:[“description”,”name”,”directives”,”fields”],DirectiveDefinition:[“description”,”name”,”arguments”,”locations”],SchemaExtension:[“directives”,”operationTypes”],ScalarTypeExtension:[“name”,”directives”],ObjectTypeExtension:[“name”,”interfaces”,”directives”,”fields”],InterfaceTypeExtension:[“name”,”interfaces”,”directives”,”fields”],UnionTypeExtension:[“name”,”directives”,”types”],EnumTypeExtension:[“name”,”directives”,”values”],InputObjectTypeExtension:[“name”,”directives”,”fields”]},i=Object.freeze({});function c(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,c=void 0,u=Array.isArray(e),l=[e],f=-1,d=[],p=void 0,h=void 0,v=void 0,m=[],g=[],b=e;do{var y=++f===l.length,w=y&&0!==d.length;if(y){if(h=0===g.length?void 0:m[m.length-1],p=v,v=g.pop(),w){if(u)p=p.slice();else{for(var k={},x=0,S=Object.keys(p);x6)switch((0,o.wN)(e,t+1)){case 109:if(45!==(0,o.wN)(e,t+4))break;case 102:return(0,o.HC)(e,/(.+:)(.+)-([^]+)/,”$1″+n.j+”$2-$3$1″+n.vd+(108==(0,o.wN)(e,t+3)?”$3″:”$2-$3″))+e;case 115:return~(0,o.K5)(e,”stretch”,0)?c((0,o.HC)(e,”stretch”,”fill-available”),t,r)+e:e}break;case 5152:case 5920:return(0,o.HC)(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,(function(t,r,o,a,i,c,s){return n.MS+r+”:”+o+s+(a?n.MS+r+”-span:”+(i?c:+c-+o)+s:””)+e}));case 4949:if(121===(0,o.wN)(e,t+6))return(0,o.HC)(e,”:”,”:”+n.j)+e;break;case 6444:switch((0,o.wN)(e,45===(0,o.wN)(e,14)?18:11)){case 120:return(0,o.HC)(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,”$1″+n.j+(45===(0,o.wN)(e,14)?”inline-“:””)+”box$3$1″+n.j+”$2$3$1″+n.MS+”$2box$3″)+e;case 100:return(0,o.HC)(e,”:”,”:”+n.MS)+e}break;case 4292:if(97===(0,o.wN)(e,t+2))return(0,o.HC)(e,”:”,”:”+n.j)+e;break;case 5719:case 2647:case 2135:case 3927:case 2391:return(0,o.HC)(e,”scroll-“,”scroll-snap-“)+e}return e}function s(e){var t=(0,o.FK)(e);return function(r,n,o,a){for(var i=””,c=0;c-1&&!e.return)switch(e.type){case n.LU:return void(e.return=c(e.value,e.length,r));case n.Sv:return(0,i.l)([(0,a.C)(e,{value:(0,o.HC)(e.value,”@”,”@”+n.j)})],s);case n.XZ:if(e.length)return(0,o.kg)(r=e.props,(function(t){switch((0,o.YW)(t,s=/(::plac\w+|:read-\w+)/)){case”:read-only”:case”:read-write”:(0,a.yY)((0,a.C)(e,{props:[(0,o.HC)(t,/:(read-\w+)/,”:”+n.vd+”$1″)]})),(0,a.yY)((0,a.C)(e,{props:[t]})),(0,o.kp)(e,{props:(0,o.pb)(r,s)});break;case”::placeholder”:(0,a.yY)((0,a.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,”:”+n.j+”input-$1″)]})),(0,a.yY)((0,a.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,”:”+n.vd+”$1″)]})),(0,a.yY)((0,a.C)(e,{props:[(0,o.HC)(t,/:(plac\w+)/,n.MS+”input-$1″)]})),(0,a.yY)((0,a.C)(e,{props:[t]})),(0,o.kp)(e,{props:(0,o.pb)(r,s)})}return””}))}}},373716:function(e,t,r){“use strict”;r.d(t,{wE:function(){return i}});var n=r(524534),o=r(919735),a=r(440390);function i(e){return(0,a.VF)(c(“”,null,null,null,[“”],e=(0,a.c4)(e),0,[0],e))}function c(e,t,r,n,i,f,d,p,h){for(var v=0,m=0,g=d,b=0,y=0,w=0,k=1,x=1,S=1,_=0,E=””,A=i,O=f,T=n,C=E;x;)switch(w=_,_=(0,a.K2)()){case 40:if(108!=w&&58==(0,o.wN)(C,g-1)){-1!=(0,o.K5)(C+=(0,o.HC)((0,a.Tb)(_),”&”,”&\f”),”&\f”,(0,o.tn)(v?p[v-1]:0))&&(S=-1);break}case 34:case 39:case 91:C+=(0,a.Tb)(_);break;case 9:case 10:case 13:case 32:C+=(0,a.mw)(w);break;case 92:C+=(0,a.Nc)((0,a.OW)()-1,7);continue;case 47:switch((0,a.se)()){case 42:case 47:(0,o.BC)(u((0,a.nf)((0,a.K2)(),(0,a.OW)()),t,r,h),h),5!=(0,a.Sh)(w||1)&&5!=(0,a.Sh)((0,a.se)()||1)||!(0,o.b2)(C)||” “===(0,o.c1)(C,-1,void 0)||(C+=” “);break;default:C+=”/”}break;case 123*k:p[v++]=(0,o.b2)(C)*S;case 125*k:case 59:case 0:switch(_){case 0:case 125:x=0;case 59+m:-1==S&&(C=(0,o.HC)(C,/\f/g,””)),y>0&&((0,o.b2)(C)-g||0===k&&47===w)&&(0,o.BC)(y>32?l(C+”;”,n,r,g-1,h):l((0,o.HC)(C,” “,””)+”;”,n,r,g-2,h),h);break;case 59:C+=”;”;default:if((0,o.BC)(T=s(C,t,r,v,m,i,p,E,A=[],O=[],g,f),f),123===_)if(0===m)c(C,t,T,T,A,f,g,p,O);else{switch(b){case 99:if(110===(0,o.wN)(C,3))break;case 108:if(97===(0,o.wN)(C,2))break;default:m=0;case 100:case 109:case 115:}m?c(e,T,T,n&&(0,o.BC)(s(e,T,T,0,0,i,p,E,i,A=[],g,O),O),i,O,g,p,n?A:O):c(C,T,T,T,[“”],O,0,p,O)}}v=m=y=0,k=S=1,E=C=””,g=d;break;case 58:g=1+(0,o.b2)(C),y=w;default:if(k<1)if(123==_)--k;else if(125==_&&0==k++&&125==(0,a.YL)())continue;switch(C+=(0,o.HT)(_),_*k){case 38:S=m>0?1:(C+=”\f”,-1);break;case 44:p[v++]=((0,o.b2)(C)-1)*S,S=1;break;case 64:45===(0,a.se)()&&(C+=(0,a.Tb)((0,a.K2)())),b=(0,a.se)(),m=g=(0,o.b2)(E=C+=(0,a.Cv)((0,a.OW)())),_++;break;case 45:45===w&&2==(0,o.b2)(C)&&(k=0)}}return f}function s(e,t,r,i,c,s,u,l,f,d,p,h){for(var v=c-1,m=0===c?s:[“”],g=(0,o.FK)(m),b=0,y=0,w=0;b0?m[k]+” “+x:(0,o.HC)(x,/&\f/g,m[k])))&&(f[w++]=S);return(0,a.rH)(e,t,r,0===c?n.XZ:l,f,d,p,h)}function u(e,t,r,i){return(0,a.rH)(e,t,r,n.YK,(0,o.HT)((0,a.Tp)()),(0,o.c1)(e,2,-2),0,i)}function l(e,t,r,i,c){return(0,a.rH)(e,t,r,n.LU,(0,o.c1)(e,0,i),(0,o.c1)(e,i+1,-1),i,c)}},450483:function(e,t,r){“use strict”;r.d(t,{A:function(){return i},l:function(){return a}});var n=r(524534),o=r(919735);function a(e,t){for(var r=””,n=0;n0?(0,n.wN)(u,–c):0,a–,10===s&&(a=1,o–),s}function v(){return s=c2||y(s)>3?””:” “}function _(e,t){for(;–t&&v()&&!(s<48||s>102||s>57&&s<65||s>70&&s<97););return b(e,g()+(t<6&&32==m()&&32==v()))}function E(e){for(;v();)switch(s){case e:return c;case 34:case 39:34!==e&&39!==e&&E(s);break;case 40:41===e&&E(e);break;case 92:v()}return c}function A(e,t){for(;v()&&e+s!==57&&(e+s!==84||47!==m()););return"/*"+b(t,c-1)+"*"+(0,n.HT)(47===e?e:v())}function O(e){for(;!y(m());)v();return b(e,c)}},919735:function(e,t,r){"use strict";r.d(t,{BC:function(){return v},Bq:function(){return c},FK:function(){return h},HC:function(){return u},HT:function(){return o},K5:function(){return l},YW:function(){return s},b2:function(){return p},c1:function(){return d},kg:function(){return m},kp:function(){return a},pb:function(){return g},tW:function(){return i},tn:function(){return n},wN:function(){return f}});var n=Math.abs,o=String.fromCharCode,a=Object.assign;function i(e,t){return 45^f(e,0)?(((t<<2^f(e,0))<<2^f(e,1))<<2^f(e,2))<<2^f(e,3):0}function c(e){return e.trim()}function s(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,r){return e.replace(t,r)}function l(e,t,r){return e.indexOf(t,r)}function f(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function v(e,t){return t.push(e),e}function m(e,t){return e.map(t).join("")}function g(e,t){return e.filter((function(e){return!s(e,t)}))}},331635:function(e,t,r){"use strict";r.r(t),r.d(t,{__addDisposableResource:function(){return N},__assign:function(){return a},__asyncDelegator:function(){return E},__asyncGenerator:function(){return _},__asyncValues:function(){return A},__await:function(){return S},__awaiter:function(){return h},__classPrivateFieldGet:function(){return P},__classPrivateFieldIn:function(){return D},__classPrivateFieldSet:function(){return M},__createBinding:function(){return m},__decorate:function(){return c},__disposeResources:function(){return j},__esDecorate:function(){return u},__exportStar:function(){return g},__extends:function(){return o},__generator:function(){return v},__importDefault:function(){return R},__importStar:function(){return I},__makeTemplateObject:function(){return O},__metadata:function(){return p},__param:function(){return s},__propKey:function(){return f},__read:function(){return y},__rest:function(){return i},__rewriteRelativeImportExtension:function(){return F},__runInitializers:function(){return l},__setFunctionName:function(){return d},__spread:function(){return w},__spreadArray:function(){return x},__spreadArrays:function(){return k},__values:function(){return b}});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r=0;c–)(o=e[c])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}function s(e,t){return function(r,n){t(r,n,e)}}function u(e,t,r,n,o,a){function i(e){if(void 0!==e&&”function”!=typeof e)throw new TypeError(“Function expected”);return e}for(var c,s=n.kind,u=”getter”===s?”get”:”setter”===s?”set”:”value”,l=!t&&e?n.static?e:e.prototype:null,f=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),d=!1,p=r.length-1;p>=0;p–){var h={};for(var v in n)h[v]=”access”===v?{}:n[v];for(var v in n.access)h.access[v]=n.access[v];h.addInitializer=function(e){if(d)throw new TypeError(“Cannot add initializers after decoration has completed”);a.push(i(e||null))};var m=(0,r[p])(“accessor”===s?{get:f.get,set:f.set}:f[u],h);if(“accessor”===s){if(void 0===m)continue;if(null===m||”object”!=typeof m)throw new TypeError(“Object expected”);(c=i(m.get))&&(f.get=c),(c=i(m.set))&&(f.set=c),(c=i(m.init))&&o.unshift(c)}else(c=i(m))&&(“field”===s?o.unshift(c):f[u]=c)}l&&Object.defineProperty(l,n.name,f),d=!0}function l(e,t,r){for(var n=arguments.length>2,o=0;o0&&o[o.length-1])||6!==c[0]&&2!==c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?”Object is not iterable.”:”Symbol.iterator is not defined.”)}function y(e,t){var r=”function”==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t– >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function w(){for(var e=[],t=0;t1||c(e,t)}))},t&&(n[e]=t(n[e])))}function c(e,t){try{(r=o[e](t)).value instanceof S?Promise.resolve(r.value.v).then(s,u):l(a[0][2],r)}catch(e){l(a[0][3],e)}var r}function s(e){c(“next”,e)}function u(e){c(“throw”,e)}function l(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}}function E(e){var t,r;return t={},n(“next”),n(“throw”,(function(e){throw e})),n(“return”),t[Symbol.iterator]=function(){return this},t;function n(n,o){t[n]=e[n]?function(t){return(r=!r)?{value:S(e[n](t)),done:!1}:o?o(t):t}:o}}function A(e){if(!Symbol.asyncIterator)throw new TypeError(“Symbol.asyncIterator is not defined.”);var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=b(e),t={},n(“next”),n(“throw”),n(“return”),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,o){(function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)})(n,o,(t=e[r](t)).done,t.value)}))}}}function O(e,t){return Object.defineProperty?Object.defineProperty(e,”raw”,{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,”default”,{enumerable:!0,value:t})}:function(e,t){e.default=t},C=function(e){return C=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t},C(e)};function I(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=C(e),n=0;n0&&e.responseStart=0?n=”back-forward-cache”:r&&(document.prerendering||c()>0?n=”prerender”:document.wasDiscarded?n=”restore”:r.type&&(n=r.type.replace(/_/g,”-“))),{name:e,value:void 0===t?-1:t,rating:”good”,delta:0,entries:[],id:”v4-“.concat(Date.now(),”-“).concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:n}},u=function(e,t,r){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var n=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return n.observe(Object.assign({type:e,buffered:!0},r||{})),n}}catch(e){}},l=function(e,t,r,n){var o,a;return function(i){t.value>=0&&(i||n)&&((a=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=a,t.rating=function(e,t){return e>t[1]?”poor”:e>t[0]?”needs-improvement”:”good”}(t.value,r),e(t))}},f=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},d=function(e){document.addEventListener(“visibilitychange”,(function(){“hidden”===document.visibilityState&&e()}))},p=function(e){var t=!1;return function(){t||(e(),t=!0)}},h=-1,v=function(){return”hidden”!==document.visibilityState||document.prerendering?1/0:0},m=function(e){“hidden”===document.visibilityState&&h>-1&&(h=”visibilitychange”===e.type?e.timeStamp:0,b())},g=function(){addEventListener(“visibilitychange”,m,!0),addEventListener(“prerenderingchange”,m,!0)},b=function(){removeEventListener(“visibilitychange”,m,!0),removeEventListener(“prerenderingchange”,m,!0)},y=function(){return h<0&&(h=v(),g(),a((function(){setTimeout((function(){h=v(),g()}),0)}))),{get firstHiddenTime(){return h}}},w=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},k=[1800,3e3],x=function(e,t){t=t||{},w((function(){var r,n=y(),o=s("FCP"),i=u("paint",(function(e){e.forEach((function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTimen.value&&(n.value=o,n.entries=i,r())},p=u(“layout-shift”,c);p&&(r=l(e,n,S,t.reportAllChanges),d((function(){c(p.takeRecords()),r(!0)})),a((function(){o=0,n=s(“CLS”,0),r=l(e,n,S,t.reportAllChanges),f((function(){return r()}))})),setTimeout(r,0))})))},E=0,A=1/0,O=0,T=function(e){e.forEach((function(e){e.interactionId&&(A=Math.min(A,e.interactionId),O=Math.max(O,e.interactionId),E=O?(O-A)/7+1:0)}))},C=function(){return n?E:performance.interactionCount||0},I=function(){“interactionCount”in performance||n||(n=u(“event”,T,{type:”event”,buffered:!0,durationThreshold:0}))},R=[],P=new Map,M=0,D=[],N=function(e){if(D.forEach((function(t){return t(e)})),e.interactionId||”first-input”===e.entryType){var t=R[R.length-1],r=P.get(e.interactionId);if(r||R.length<10||e.duration>t.latency){if(r)e.duration>r.latency?(r.entries=[e],r.latency=e.duration):e.duration===r.latency&&e.startTime===r.entries[0].startTime&&r.entries.push(e);else{var n={id:e.interactionId,latency:e.duration,entries:[e]};P.set(n.id,n),R.push(n)}R.sort((function(e,t){return t.latency-e.latency})),R.length>10&&R.splice(10).forEach((function(e){return P.delete(e.id)}))}}},L=function(e){var t=self.requestIdleCallback||self.setTimeout,r=-1;return e=p(e),”hidden”===document.visibilityState?e():(r=t(e),d(e)),r},j=[200,500],F=function(e,t){“PerformanceEventTiming”in self&&”interactionId”in PerformanceEventTiming.prototype&&(t=t||{},w((function(){var r;I();var n,o=s(“INP”),i=function(e){L((function(){e.forEach(N);var t=function(){var e=Math.min(R.length-1,Math.floor((C()-M)/50));return R[e]}();t&&t.latency!==o.value&&(o.value=t.latency,o.entries=t.entries,n())}))},c=u(“event”,i,{durationThreshold:null!==(r=t.durationThreshold)&&void 0!==r?r:40});n=l(e,o,j,t.reportAllChanges),c&&(c.observe({type:”first-input”,buffered:!0}),d((function(){i(c.takeRecords()),n(!0)})),a((function(){M=C(),R.length=0,P.clear(),o=s(“INP”),n=l(e,o,j,t.reportAllChanges)})))})))},z=[2500,4e3],B={},U=function(e,t){t=t||{},w((function(){var r,n=y(),o=s(“LCP”),i=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach((function(e){e.startTime=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError(“Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.”)}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1,o=!1,a=arguments[1];return new r((function(r){return t.subscribe({next:function(t){var i=!o;if(o=!0,!i||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!o&&!n)return r.error(new TypeError(“Cannot reduce an empty sequence”));r.next(a),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=0&&o.splice(e,1),i()}});o.push(a)},error:function(e){n.error(e)},complete:function(){i()}});function i(){a.closed&&0===o.length&&n.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),a.unsubscribe()}}))},t[f]=function(){return this},e.from=function(t){var r=”function”==typeof this?this:e;if(null==t)throw new TypeError(t+” is not an object”);var o=p(t,f);if(o){var a=o.call(t);if(Object(a)!==a)throw new TypeError(a+” is not an object”);return v(a)&&a.constructor===r?a:new r((function(e){return a.subscribe(e)}))}if(s(“iterator”)&&(o=p(t,l)))return new r((function(e){g((function(){if(!e.closed){for(var r,a=n(o.call(t));!(r=a()).done;){var i=r.value;if(e.next(i),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){g((function(){if(!e.closed){for(var r=0;r