PageSourceSearch

https://www.primary.com/cdn/shop/t/42/assets/813.chunk.be669297dee00faec1d6.min.js

js primary.com collected 2026-10-01 10:41:18 UTC 161,598 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="24b73e0f-7c14-4a66-9a92-a9160b1d9fd4",e._sentryDebugIdIdentifier="sentry-dbid-24b73e0f-7c14-4a66-9a92-a9160b1d9fd4")}catch(e){}}(),(self.webpackChunkpk_shopify_theme=self.webpackChunkpk_shopify_theme||[]).push([[813],{599:(e,t,r)=>{r.d(t,{A:()=>s,V:()=>u});var n=r(11744),i=r(37783),o=new WeakSet;function a(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout((function(){e.clean(),o.delete(e)}),100))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},2619:(e,t,r)=>{r.d(t,{En:()=>a,et:()=>o,ol:()=>s,uJ:()=>u});var n=r(25583),i="ReactNative"==(0,n.no)((function(){return navigator.product})),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator;(0,n.no)((function(){return window.document.createElement})),(0,n.no)((function(){return navigator.userAgent.indexOf("jsdom")>=0}))},3902:(e,t,r)=>{r.d(t,{XY:()=>y,er:()=>g,iz:()=>v,x3:()=>b,zc:()=>m});var n=r(31635),i=r(25583),o=r(43298),a=r(88607),s=r(84824),u=r(67194),c=r(65215),l=r(45636),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===o.b.FRAGMENT_SPREAD&&h(t[e.name.value],t)}))}function d(e){return h((0,s.Vu)(e)||(0,s.E4)(e),(0,c.JG)((0,s.zK)(e)))?null:e}function p(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function v(e,t){(0,s.sw)(t);for(var r=p(""),u=p(""),c=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.c)(n)){if(n.kind===o.b.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===o.b.FRAGMENT_DEFINITION)return u(n.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(97),null},f=0,h=t.definitions.length-1;h>=0;--h)t.definitions[h].kind===o.b.OPERATION_DEFINITION&&++f;var v,y,m,g=(v=e,y=new Map,m=new Map,v.forEach((function(e){e&&(e.name?y.set(e.name,e):e.test&&m.set(e.test,e))})),function(e){var t=y.get(e.name.value);return!t&&m.size&&m.forEach((function(r,n){n(e)&&(t=r)})),t}),b=function(e){return(0,l.E)(e)&&e.map(g).some((function(e){return e&&e.remove}))},_=new Map,w=!1,O={enter:function(e){if(b(e.directives))return w=!0,null}},E=(0,a.YR)(t,{Field:O,InlineFragment:O,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return w=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){_.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===_.get(JSON.stringify(n))?e:f>0&&e.selectionSet.selections.every((function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value}))?(u(e.name.value).removed=!0,w=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return w=!0,null}}});if(!w)return t;var S=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){S(u(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},k=new Set;E.definitions.forEach((function(e){e.kind===o.b.OPERATION_DEFINITION?S(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){k.add(e)})):e.kind!==o.b.FRAGMENT_DEFINITION||0!==f||u(e.name.value).removed||k.add(e.name.value)})),k.forEach((function(e){S(u(e)).fragmentSpreads.forEach((function(e){k.add(e)}))}));var T={enter:function(e){if(t=e.name.value,!k.has(t)||u(t).removed)return null;var t}};return d((0,a.YR)(E,{FragmentSpread:T,FragmentDefinition:T,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var y=Object.assign((function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(i&&!i.some((function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var a=r;if(!((0,u.dt)(a)&&a.directives&&a.directives.some((function(e){return"export"===e.name.value}))))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}}})}),{added:function(e){return e===f}});function m(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function g(e){return(0,s.sw)(e),v([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function b(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(!(null===(t=e.directives)||void 0===t?void 0:t.some((function(e){return"unmask"===e.name.value}))))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
1],!1)})}})}},6839:(e,t,r)=>{r.d(t,{DX:()=>f,yN:()=>A,LV:()=>Q});var n=r(32453),i=r(37783);let o=null;const a={};let s=1;function u(e){try{return e()}catch(e){}}const c="@wry/context:Slot",l=u((()=>globalThis))||u((()=>global))||Object.create(null),f=l[c]||Array[c]||function(e){try{Object.defineProperty(l,c,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",s++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=o;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===a)break;return e!==o&&(o.slots[this.id]=t),!0}return o&&(o.slots[this.id]=a),!1}getValue(){if(this.hasValue())return o.slots[this.id]}withValue(e,t,r,n){const i={__proto__:null,[this.id]:e},a=o;o={parent:a,slots:i};try{return t.apply(n,r)}finally{o=a}}static bind(e){const t=o;return function(){const r=o;try{return o=t,e.apply(this,arguments)}finally{o=r}}}static noContext(e,t,r){if(!o)return e.apply(r,t);{const n=o;try{return o=null,e.apply(r,t)}finally{o=n}}}}),{bind:h,noContext:d}=f,p=new f,{hasOwnProperty:v}=Object.prototype,y=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function m(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const g=[];function b(e,t){if(!e)throw new Error(t||"assertion failure")}function _(e,t){const r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function w(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}function O(e){return e.slice(0)}class E{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++E.count}peek(){if(1===this.value.length&&!T(this))return S(this),this.value[0]}recompute(e){return b(!this.recomputing,"already recomputing"),S(this),T(this)?function(e,t){return V(e),p.withValue(e,k,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{m(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){e.dirty=!1,T(e)||D(e)}(e),w(e.value)}(this,e):w(this.value)}setDirty(){this.dirty||(this.dirty=!0,C(this),m(this))}dispose(){this.setDirty(),V(this),I(this,((e,t)=>{e.setDirty(),j(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=g.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(y(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),g.push(this.deps),this.deps=null)}}function S(e){const t=p.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),T(e)?x(t,e):R(t,e),t}function k(e,t){e.recomputing=!0;const{normalizeResult:r}=e;let n;r&&1===e.value.length&&(n=O(e.value)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),r&&n&&!_(n,e.value))try{e.value[0]=r(e.value[0],n[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function T(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function C(e){I(e,x)}function D(e){I(e,R)}function I(e,t){const r=e.parents.size;if(r){const n=y(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function x(e,t){b(e.childValues.has(t)),b(T(t));const r=!T(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=g.pop()||new Set;e.dirtyChildren.add(t),r&&C(e)}function R(e,t){b(e.childValues.has(t)),b(!T(t));const r=e.childValues.get(t);0===r.length?e.childValues.set(t,O(t.value)):_(r,t.value)||e.setDirty(),F(e,t),T(e)||D(e)}function F(e,t){const r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(g.length<100&&g.push(r),e.dirtyChildren=null))}function V(e){e.childValues.size>0&&e.childValues.forEach(((t,r)=>{j(e,r)})),e.forgetDeps(),b(null===e.dirtyChildren)}function j(e,t){t.parents.delete(e),e.childValues.delete(t),F(e,t)}E.count=0;const N={setDirty:!0,dispose:!0,forget:!0};function A(e){const t=new Map,r=e&&e.subscribe;function n(e){const n=p.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(m(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){const n=t.get(e);if(n){const i=r&&v.call(N,r)?r:"setDirty";
1y(n).forEach((e=>e[i]())),t.delete(e),m(n)}},n}let M;function q(...e){return(M||(M=new n.b("function"==typeof WeakMap))).lookupArray(e)}const P=new Set;function Q(e,{max:t=Math.pow(2,16),keyArgs:r,makeCacheKey:n=q,normalizeResult:o,subscribe:a,cache:s=i.C}=Object.create(null)){const u="function"==typeof s?new s(t,(e=>e.dispose())):s,c=function(){const t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let i=u.get(t);i||(u.set(t,i=new E(e)),i.normalizeResult=o,i.subscribe=a,i.forget=()=>u.delete(t));const s=i.recompute(Array.prototype.slice.call(arguments));return u.set(t,i),P.add(u),p.hasValue()||(P.forEach((e=>e.clean())),P.clear()),s};function l(e){const t=e&&u.get(e);t&&t.setDirty()}function f(e){const t=e&&u.get(e);if(t)return t.peek()}function h(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:o,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function(){l(n.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(n.apply(null,arguments))},c.forgetKey=h,c.forget=function(){return h(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}},9080:(e,t,r)=>{r.d(t,{a:()=>c});var n=r(31635),i=r(15381),o=r(84824),a=r(65215),s=r(91250),u=r(67194);function c(e,t,r,s){var u=t.data,c=(0,n.Tt)(t,["data"]),f=r.data,h=(0,n.Tt)(r,["data"]);return(0,i.A)(c,h)&&l((0,o.Vn)(e).selectionSet,u,f,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:s})}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,s.MS)(e,n.variables))return!0;if(f(e))return!0;if((0,u.dt)(e)){var c=(0,u.ue)(e),h=t&&t[c],d=r&&r[c],p=e.selectionSet;if(!p)return(0,i.A)(h,d);var v=Array.isArray(h),y=Array.isArray(d);if(v!==y)return!1;if(v&&y){var m=h.length;if(d.length!==m)return!1;for(var g=0;g<m;++g)if(!l(p,h[g],d[g],n))return!1;return!0}return l(p,h,d,n)}var b=(0,a.HQ)(e,n.fragmentMap);return b?!!f(b)||l(b.selectionSet,t,r,n):void 0}))}function f(e){return!!e.directives&&e.directives.some(h)}function h(e){return"nonreactive"===e.name.value}},10435:(e,t,r)=>{r.d(t,{r:()=>n});var n="3.13.6"},11744:(e,t,r)=>{function n(){}r.d(t,{l:()=>u});const i=n,o="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},a="undefined"!=typeof WeakMap?WeakMap:Map,s="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class u{constructor(e=1/0,t=i){this.max=e,this.dispose=t,this.map=new a,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{const e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){const t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);const r=t.key;delete t.key,t.keyRef=new o(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new s(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;const t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){const t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},12456:(e,t,r)=>{function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},15381:(e,t,r)=>{r.d(t,{A:()=>u,L:()=>s});const{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return c(e,t)}finally{a.clear()}}const u=s;function c(e,t){if(e===t)return!0;const r=n.call(e);
1if(r!==n.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(d(e,t))return!0;const r=l(e),n=l(t),o=r.length;if(o!==n.length)return!1;for(let e=0;e<o;++e)if(!i.call(t,r[e]))return!1;for(let n=0;n<o;++n){const i=r[n];if(!c(e[i],t[i]))return!1}return!0}case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!=e)return t!=t;case"[object Boolean]":case"[object Date]":return+e==+t;case"[object RegExp]":case"[object String]":return e==`${t}`;case"[object Map]":case"[object Set]":{if(e.size!==t.size)return!1;if(d(e,t))return!0;const n=e.entries(),i="[object Map]"===r;for(;;){const e=n.next();if(e.done)break;const[r,o]=e.value;if(!t.has(r))return!1;if(i&&!c(o,t.get(r)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":{let r=e.byteLength;if(r===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{const r=o.call(e);return r===o.call(t)&&!function(e,t){const r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(r,h)}}return!1}function l(e){return Object.keys(e).filter(f,e)}function f(e){return void 0!==this[e]}const h="{ [native code] }";function d(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},21469:(e,t,r)=>{r.d(t,{G:()=>i});var n=r(12456);function i(e){return!1!==globalThis.__DEV__&&(t=e,(r=new Set([t])).forEach((function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(t){(0,n.U)(e[t])&&r.add(e[t])}))}))),e;var t,r}},25583:(e,t,r)=>{r.d(t,{Sf:()=>v,V1:()=>g,no:()=>p,vA:()=>b});var n=r(31635),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c,l=["debug","log","warn","error","silent"],f=l.indexOf("log");function h(e){return function(){if(l.indexOf(e)>=f)return(console[e]||console.log).apply(console,arguments)}}(c=u||(u={})).debug=h("debug"),c.log=h("log"),c.warn=h("warn"),c.error=h("error");var d=r(10435);function p(e){try{return e()}catch(e){}}const v=p((function(){return globalThis}))||p((function(){return window}))||p((function(){return self}))||p((function(){return global}))||p((function(){return p.constructor("return this")()}));var y=r(26194);function m(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=O(i))||(t=E(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var g=Object.assign((function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||u(e,O(t,r)||E(t,r))}),{debug:m(u.debug),log:m(u.log),warn:m(u.warn),error:m(u.error)});function b(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new s(O(e,t)||E(e,t))}var _=Symbol.for("ApolloErrorMessageHandler_"+d.r);function w(e){if("string"==typeof e)return e;try{return(0,y.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function O(e,t){if(void 0===t&&(t=[]),e)return v[_]&&v[_](e,t.map(w))}function E(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:d.r,message:e,args:t.map(w)})))}globalThis.__DEV__},26194:(e,t,r)=>{r.d(t,{p:()=>i});var n=r(98170);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?r:t}),t).split(JSON.stringify(r)).join("<undefined>")}},27404:(e,t,r)=>{r.d(t,{D:()=>Fe});
1var n=r(31635),i=r(25583),o=r(6839),a=r(15381),s=r(65215),u=r(81212),c=r(84824),l=r(73401),f=r(92922),h=r(11744),d=r(35051),p=r(9080),v=r(45410),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:u.v["cache.fragmentQueryDocuments"]||1e3,cache:h.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t=this,r=e.fragment,o=e.fragmentName,a=e.from,s=e.optimistic,u=void 0===s||s,h=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),d=this.getFragmentDoc(r,o),y=void 0===a||"string"==typeof a?a:this.identify(a),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=o||(0,c.E4)(r).name.value;y||!1!==globalThis.__DEV__&&i.V1.warn(1,g)}var b,_=(0,n.Cl)((0,n.Cl)({},h),{returnPartialData:!0,id:y,query:d,optimistic:u});return new l.c((function(i){return t.watch((0,n.Cl)((0,n.Cl)({},_),{immediate:!0,callback:function(a){var s=m?(0,v.z)(a.result,r,t,o):a.result;if(!b||!(0,p.a)(d,{data:b.result},{data:s},e.variables)){var u={data:s,complete:!!a.complete};a.missing&&(u.missing=(0,f.IM)(a.missing.map((function(e){return e.missing})))),b=(0,n.Cl)((0,n.Cl)({},a),{result:s}),i.next(u)}}}))}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=d.tQ);var m=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error),g=r(29993),b=r(3902),_=r(96269),w=r(38956),O=r(67194),E=r(43298),S=r(2619),k=r(87945),T=r(91250),C=r(21469),D=r(12456),I=r(32453),x=r(45636),R=Object.prototype.hasOwnProperty;function F(e){return null==e}function V(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=F(n)?F(i)?void 0:{_id:i}:{id:n}),F(n)&&!F(i)&&(n=i),!F(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var j={dataIdFromObject:V,addTypename:!0,resultCaching:!0,canonizeResults:!1};function N(e){var t=e.canonizeResults;return void 0===t?j.canonizeResults:t}var A=/^[_a-z][_0-9a-z]*/i;function M(e){var t=e.match(A);return t?t[0]:e}function q(e,t,r){return!!(0,D.U)(t)&&((0,x.c)(t)?t.every((function(t){return q(e,t,r)})):e.selections.every((function(e){if((0,O.dt)(e)&&(0,T.MS)(e,r)){var n=(0,O.ue)(e);return R.call(t,n)&&(!e.selectionSet||q(e.selectionSet,t[n],r))}return!0})))}function P(e){return(0,D.U)(e)&&!(0,O.A_)(e)&&!(0,x.c)(e)}function Q(e,t){var r=(0,s.JG)((0,c.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var L=Object.create(null),z=function(){return L},U=Object.create(null),W=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,C.G)((0,O.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,O.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,O.WU)(e);if((0,O.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,O.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),R.call(this.data,e)){var r=this.data[e];if(r&&R.call(r,t))return r[t]}return"__typename"===t&&R.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof K?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),R.call(this.data,e)?this.data[e]:this instanceof K?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,O.A_)(e)&&(e=e.__ref),(0,O.A_)(t)&&(t=t.__ref);
1var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new f.ZI(H).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach((function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=M(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof K||delete s[e]}})),!u.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete u.__typename,Object.keys(u).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,u=!0,c={DELETE:L,INVALIDATE:U,isReference:O.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,O.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach((function(l){var f=M(l),h=o[l];if(void 0!==h){var d="function"==typeof t?t:t[l]||t[f];if(d){var p=d===z?L:d((0,C.G)(h),(0,n.Cl)((0,n.Cl)({},c),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(p===U)r.group.dirty(e,l);else if(p===L&&(p=void 0),p!==h&&(a[l]=p,s=!0,h=p,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,O.A_)(p))v(p);else if(Array.isArray(p))for(var y=!1,m=void 0,g=0,b=p;g<b.length;g++){var _=b[g];if((0,O.A_)(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&i.V1.warn(4,m);break}}}}void 0!==h&&(u=!1)}})),s)return this.merge(e,a),u&&(this instanceof K?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=z,n):z)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(R.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof K&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach((function(t){R.call(e.policies.rootTypenamesById,t)||r.push(t)})),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(r){e&&R.call(e,r)||t.delete(r)})),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
1Object.keys(i).forEach((function(e){t.merge(e,i[e])})),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof K?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach((function(n){R.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])}));var n=Object.keys(r);if(n.length){for(var i=this;i instanceof K;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!R.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach((function(e){(0,O.A_)(e)&&(t[e.__ref]=!0),(0,D.U)(e)&&Object.keys(e).forEach((function(t){var r=e[t];(0,D.U)(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),B=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new I.b(S.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(Y(e,t));var r=M(t);r!==t&&this.d(Y(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(Y(e,t),"__exists"===t?"forget":"setDirty")},e}();function Y(e,t){return t+"#"+e}function J(e,t){X(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,a=e.call(this,r,new B(i))||this;return a.stump=new G(a),a.storageTrie=new I.b(S.et),o&&a.replace(o),a}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(W||(W={}));var K=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach((function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
1)):(t.group.dirty(e,"__exists"),Object.keys(i).forEach((function(r){t.group.dirty(e,r)}))):t.delete(e)})),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return R.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(W),G=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new B(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(K);function H(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function X(e){return!!(e instanceof W&&e.group.caching)}var $=function(){function e(){this.known=new(S.En?WeakSet:Set),this.pool=new I.b(S.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.U)(e)){var t=function(e){return(0,D.U)(e)?(0,x.c)(e)?e.slice(0):(0,n.Cl)({__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,D.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),!1!==globalThis.__DEV__&&Object.freeze(n)),s.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),o=[i],a=this.sortedKeys(e);o.push(a.json);var s,u=o.length;if(a.sorted.forEach((function(r){o.push(t.admit(e[r]))})),!(s=this.pool.lookupArray(o)).object){var c=s.object=Object.create(i);this.known.add(c),a.sorted.forEach((function(e,t){c[e]=o[u+t]})),!1!==globalThis.__DEV__&&Object.freeze(c)}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}();function Z(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var ee=function(){function e(e){var t=this;this.knownResults=new(S.et?WeakMap:Map),this.config=(0,k.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:N(e)}),this.canon=e.canon||new $,this.executeSelectionSet=(0,o.LV)((function(e){var r,i=e.context.canonizeResults,o=Z(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(J(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:Z,makeCacheKey:function(e,t,r,n){if(X(r.store))return r.store.makeCacheKey(e,(0,O.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)((function(e){return J(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(X(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new $},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,u=void 0===s||s,l=e.canonizeResults,f=void 0===l?this.config.canonizeResults:l,h=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,c.wY)((0,c.AT)(r))),a);var d,p=(0,O.WU)(o),v=this.executeSelectionSet({selectionSet:(0,c.Vn)(r).selectionSet,objectOrReference:p,enclosingRef:p,context:(0,n.Cl)({store:t,query:r,policies:h,variables:a,varString:(0,_.M)(a),canonizeResults:f},Q(r,this.config.fragments))});if(v.missing&&(d=[new m(te(v.missing),v.missing,r,a)],!u))throw d[0];return{result:v.result,complete:!d,missing:d}},e.prototype.isFresh=function(e,t,r,n){if(X(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,a=e.context;if((0,O.A_)(n)&&!a.policies.rootTypenamesById[n.__ref]&&!a.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var u,c=a.variables,l=a.policies,h=a.store.getFieldValue(n,"__typename"),d=[],p=new f.ZI;function v(e,t){var r;return e.missing&&(u=p.merge(u,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof h&&!l.rootIdsByTypename[h]&&d.push({__typename:h});var y=new Set(r.selections);
1y.forEach((function(e){var r,f;if((0,T.MS)(e,c))if((0,O.dt)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:a.variables,from:n},a),g=(0,O.ue)(e);void 0===m?b.XY.added(e)||(u=p.merge(u,((r={})[g]="Can't find field '".concat(e.name.value,"' on ").concat((0,O.A_)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,x.c)(m)?m.length>0&&(m=v(t.executeSubSelectedArray({field:e,array:m,enclosingRef:o,context:a}),g)):e.selectionSet?null!=m&&(m=v(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,O.A_)(m)?m:o,context:a}),g)):a.canonizeResults&&(m=t.canon.pass(m)),void 0!==m&&d.push(((f={})[g]=m,f))}else{var _=(0,s.HQ)(e,a.lookupFragment);if(!_&&e.kind===E.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);_&&l.fragmentMatches(_,h)&&_.selectionSet.selections.forEach(y.add,y)}}));var m={result:(0,f.IM)(d),missing:u},g=a.canonizeResults?this.canon.admit(m):(0,C.G)(m);return g.result&&this.knownResults.set(g.result,r),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new f.ZI;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map((function(e,t){return null===e?null:(0,x.c)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,O.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){(0,D.U)(r)&&((0,i.V1)(!(0,O.A_)(r),11,function(e,t){return(0,O.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,r),t.name.value),Object.values(r).forEach(n.add,n))}))}}(s.store,n,e),e)})),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function te(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(e){return e}}var re=r(91495),ne=r(26194),ie=r(90738),oe=Object.create(null);function ae(e){var t=JSON.stringify(e);return oe[t]||(oe[t]=Object.create(null))}function se(e){var t=ae(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=ce(e,(function(e){var o=he(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&R.call(t,e[0])&&(o=he(t,e,fe)),(0,i.V1)(void 0!==o,5,e.join("."),t),o}));return"".concat(r.typename,":").concat(JSON.stringify(o))})}function ue(e){var t=ae(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=ce(e,(function(e){var r=e[0],o=r.charAt(0);if("@"!==o)if("$"!==o){if(t)return he(t,e)}else{var a=r.slice(1);if(i&&R.call(i,a)){var s=e.slice(0);return s[0]=a,he(i,s)}}else if(n&&(0,x.E)(n.directives)){var u=r.slice(1),c=n.directives.find((function(e){return e.name.value===u})),l=c&&(0,O.MB)(c,i);return l&&he(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(o+=":"+s),o})}function ce(e,t){var r=new f.ZI;return le(e).reduce((function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e}),Object.create(null))}function le(e){var t=ae(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,i){(0,x.c)(t)?(le(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),(0,x.c)(e[i+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function fe(e,t){return e[t]}function he(e,t,r){return r=r||fe,de(t.reduce((function e(t,n){return(0,x.c)(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function de(e){return(0,D.U)(e)?(0,x.c)(e)?e.map(de):ce(Object.keys(e).sort(),(function(t){return he(e,t)})):e}var pe=r(60857);function ve(e){return void 0!==e.args?e.args:e.field?(0,O.MB)(e.field,e.variables):null}var ye=function(){},me=function(e,t){return t.fieldName},ge=function(e,t,r){return(0,r.mergeObjects)(e,t)},be=function(e,t){return t},_e=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:V},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a,s=t&&t.storeObject||e,u=(0,n.Cl)((0,n.Cl)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=Oe(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;return pe.yV.withValue(!0,(function(){for(;l;){var t=l((0,n.Cl)((0,n.Cl)({},e),s),u);if(!(0,x.c)(t)){a=t;break}l=se(t)}})),a=a?String(a):void 0,u.keyObject?[a,u.keyObject]:[a]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),R.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ge:!1===t?be:e.merge}a(n,t.merge),n.keyFn=!1===i?ye:(0,x.c)(i)?se(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h((function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?me:(0,x.c)(s)?ue(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||me)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(r){t.getSupertypeSet(r,!0),e[r].forEach((function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(A);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!R.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach((function(e){return i.add(e)}))}}))),i&&i.size&&i.forEach((function(e){var i=t.getTypePolicy(e),o=i.fields,a=(0,n.Tt)(i,["fields"]);Object.assign(r,a),Object.assign(r.fields,o)}))}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach((function(r){t.updateTypePolicy(e,r)})),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&u.indexOf(t)<0&&u.push(t)},l=!(!r||!this.fuzzySubtypes.size),f=!1,h=0;h<u.length;++h){var d=u[h];if(d.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;d.forEach(c),l&&h===u.length-1&&q(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach((function(e,r){var n=t.match(e);n&&n[0]===t&&c(r)})))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=ve(e);o;){var u=o(s,a);if(!(0,x.c)(u)){t=u||n;break}o=ue(u)}return void 0===t&&(t=e.field?(0,O.Ii)(e.field,e.variables):(0,O.o5)(n,ve(e))),!1===t?n:n===M(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=M(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=we(this,r,e,t,t.store.getStorage((0,O.A_)(r)?r.__ref:r,i));return ie.bl.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ge?Ee(n.store)(e,t):s===be?t:(n.overwrite&&(e=void 0),s(e,t,we(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function we(e,t,r,n,i){var o=e.getStoreFieldName(r),a=M(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:ve(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:O.A_,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(Oe(arguments,t,s),n)},mergeObjects:Ee(n.store)}}function Oe(e,t,r){var o,a=e[0],s=e[1],u=e.length;return"string"==typeof a?o={fieldName:a,from:u>1?s:t}:(o=(0,n.Cl)({},a),R.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,ne.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function Ee(e){return function(t,r){if((0,x.c)(t)||(0,x.c)(r))throw(0,i.vA)(9);if((0,D.U)(t)&&(0,D.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,O.A_)(t)&&P(r))return e.merge(t.__ref,r),t;if(P(t)&&(0,O.A_)(r))return e.merge(t,r.__ref),r;if(P(t)&&P(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function Se(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var ke=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,u=t.dataId,l=t.variables,h=t.overwrite,d=(0,c.Vu)(o),p=new f.ZI;l=(0,n.Cl)((0,n.Cl)({},(0,c.wY)(d)),l);var v=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)}
1,variables:l,varString:(0,_.M)(l)},Q(o,this.fragments)),{overwrite:!!h,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:d.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,O.A_)(y))throw(0,i.vA)(12,s);return v.incomingById.forEach((function(t,o){var s=t.storeObject,u=t.mergeTree,c=t.fieldNodeSet,l=(0,O.WU)(o);if(u&&u.map.size){var f=r.applyMerges(u,l,s,v);if((0,O.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var h=Object.create(null);c.forEach((function(e){e.selectionSet&&(h[e.name.value]=!0)})),Object.keys(s).forEach((function(e){(function(e){return!0===h[M(e)]})(e)&&!function(e){var t=u&&u.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},u=s(e);if(u){var c=s(t);if(c&&!(0,O.A_)(u)&&!(0,a.L)(u,c)&&!Object.keys(u).every((function(e){return void 0!==o.getFieldValue(c,e)}))){var l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=M(r),h="".concat(l,".").concat(f);if(!Re.has(h)){Re.add(h);var d=[];(0,x.c)(u)||(0,x.c)(c)||[u,c].forEach((function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)})),!1!==globalThis.__DEV__&&i.V1.warn(15,f,l,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",h,(0,n.Cl)({},u),(0,n.Cl)({},c))}}}}(l,s,e,v.store)}))}e.merge(o,s)})),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=r&&c.rootTypenamesById[r]||(0,O.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=Oe(arguments,l,s.variables);if((0,O.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},d=new Set;this.flattenFields(a,o,s,f).forEach((function(e,r){var n,a=(0,O.ue)(r),s=o[a];if(d.add(r),void 0!==s){var p=c.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),v=Ce(u,p),y=t.processFieldValue(s,r,r.selectionSet?Se(e,!1,!1):e,v),m=void 0;r.selectionSet&&((0,O.A_)(y)||P(y))&&(m=h("__typename",y));var g=c.getMergeFunction(f,r.name.value,m);g?v.info={field:r,typename:f,merge:g}:xe(u,p),l=e.merge(l,((n={})[p]=y,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||b.XY.added(r)||c.getReadFunction(f,r.name.value)||!1!==globalThis.__DEV__&&i.V1.error(13,(0,O.ue)(r),o)}));try{var p=c.identify(o,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),v=p[0],y=p[1];r=r||v,y&&(l=s.merge(l,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,O.WU)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(a)>=0)return m;if(g.push(a),this.reader&&this.reader.isFresh(o,m,a,s))return m;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,l),_.mergeTree=De(_.mergeTree,u),d.forEach((function(e){return _.fieldNodeSet.add(e)}))):s.incomingById.set(r,{storeObject:l,mergeTree:Ie(u)?void 0:u,fieldNodeSet:d}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,x.c)(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,r,Ce(n,o));return xe(n,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,re.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,O.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,u=new I.b(!1);return function e(c,l){var f=u.lookup(c,l.clientOnly,l.deferred);f.visited||(f.visited=!0,c.selections.forEach((function(u){if((0,T.MS)(u,r.variables)){var c=l.clientOnly,f=l.deferred;if(c&&f||!(0,x.E)(u.directives)||u.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(c=!0),"defer"===t){var n=(0,O.MB)(e,r.variables);n&&!1===n.if||(f=!0)}})),(0,O.dt)(u)){var h=o.get(u);h&&(c=c&&h.clientOnly,f=f&&h.deferred),o.set(u,Se(r,c,f))}else{var d=(0,s.HQ)(u,r.lookupFragment);if(!d&&u.kind===E.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,u.name.value);d&&a.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,Se(r,c,f))}}})))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s,u=this;if(e.map.size&&!(0,O.A_)(r)){var c,l=(0,x.c)(r)||!(0,O.A_)(t)&&!P(t)?void 0:t,f=r;l&&!a&&(a=[(0,O.A_)(l)?l.__ref:l]);var h=function(e,t){return(0,x.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach((function(e,t){var r=h(l,t),n=h(f,t);if(void 0!==n){a&&a.push(t);var s=u.applyMerges(e,r,n,o,a);s!==n&&(c=c||new Map).set(t,s),a&&(0,i.V1)(a.pop()===t)}})),c&&(r=(0,x.c)(f)?f.slice(0):(0,n.Cl)({},f),c.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):r},e}(),Te=[];function Ce(e,t){var r=e.map;return r.has(t)||r.set(t,Te.pop()||{map:new Map}),r.get(t)}function De(e,t){if(e===t||!t||Ie(t))return e;if(!e||Ie(e))return t;var r=e.info&&t.info?(0,n.Cl)((0,n.Cl)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var a=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,De(e,t.map.get(r))),a.delete(r)})),a.forEach((function(r){o.map.set(r,De(t.map.get(r),e.map.get(r)))}))}return o}function Ie(e){return!e||!(e.info||e.map.size)}function xe(e,t){var r=e.map,n=r.get(t);n&&Ie(n)&&(Te.push(n),r.delete(t))}var Re=new Set,Fe=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new g.c(b.XY),r.assumeImmutableResults=!0,r.makeVar=ie.UT,r.txCount=0,r.config=function(e){return(0,k.o)(j,e)}(t),r.addTypename=!!r.config.addTypename,r.policies=new _e({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new W.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 ke(this,this.storeReader=new ee({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:N(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(X(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,_.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach((function(e){return e.resetCaching()}))},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(e){if(e instanceof m)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(R.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.Cl)((0,n.Cl)({},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,ie.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,ie.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){var t;_.M.reset(),w.y.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,O.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(R.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},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(),_.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),(0,ie.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,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var n=r,o=n.data,a=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null===(t=this.config.fragments)||void 0===t?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(y);!1!==globalThis.__DEV__&&(Fe.prototype.getMemoryInternals=d.cM)},29993:(e,t,r)=>{r.d(t,{c:()=>f});var n=r(32453),i=r(2619),o=r(84824),a=r(25583),s=r(11744),u=r(6839),c=r(81212);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e((function(e){return(t(e)?r:n).transformDocument(e)}),{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,u.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),77),r.lookupArray(n)},max:c.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e((function(e){return t.transformDocument(r.transformDocument(e))}),{cache:!1}),{left:this,right:t})},e}()},31635:(e,t,r)=>{r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>u,fX:()=>c,sH:()=>s});
1var 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 i(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 o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},o.apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function s(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function u(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&s[0]?n.return:s[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;switch(n=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return o.label++,{value:s[1],done:!1};case 5:o.label++,n=s[1],s=[0];continue;case 7:s=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==s[0]&&2!==s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(6===s[0]&&o.label<i[1]){o.label=i[1],i=s;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(s);break}i[2]&&o.ops.pop(),o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e],n=0}finally{r=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,u])}}}function c(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError},32453:(e,t,r)=>{r.d(t,{b:()=>s});const n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,(e=>t=t.getChildTrie(e))),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){const n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){const r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){const t=this.mapFor(e,!0);let r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},35051:(e,t,r)=>{r.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>c});var n=r(31635),i=r(81212),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map((function(e){var t=e[0],r=e[1];return[t,i.v[t]||r]}
1))),sizes:(0,n.Cl)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(r=o.canonicalStringify)||void 0===r?void 0:r.call(o),links:v(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:d(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},l.apply(this)),{addTypenameDocumentTransform:d(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function h(e){return null!=e}function d(e){return p(e).map((function(e){return{cache:e}}))}function p(e){return e?(0,n.fX)((0,n.fX)([f(null==e?void 0:e.performWork)],p(null==e?void 0:e.left),!0),p(null==e?void 0:e.right),!0).filter(h):[]}function v(e){var t;return e?(0,n.fX)((0,n.fX)([null===(t=null==e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],v(null==e?void 0:e.left),!0),v(null==e?void 0:e.right),!0).filter(h):[]}},37783:(e,t,r)=>{function n(){}r.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){const t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){const t=this.map.get(e);if(t&&t!==this.newest){const{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){const 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)}}},38956:(e,t,r)=>{r.d(t,{y:()=>y});var n=r(88607),i={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return a(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=u("(",a(e.variableDefinitions,", "),")"),i=a(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?a([t,a([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+u(" = ",n)+u(" ",a(i," "))},SelectionSet:function(e){return s(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,s=u("",t,": ")+r,l=s+u("(",a(n,", "),")");return l.length>80&&(l=s+u("(\n",c(a(n,"\n")),"\n)")),a([l,a(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+u(" ",a(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return a(["...",u("on ",t),a(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(u("(",a(n,", "),")")," ")+"on ".concat(r," ").concat(u("",a(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"
vendor: 1,883 bytes, line 1
1===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,u="";return!s||n&&i||(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}(r,"description"===t?"":"  "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+a(e.values,", ")+"]"},ObjectValue:function(e){return"{"+a(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+u("(",a(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:o((function(e){var t=e.directives,r=e.operationTypes;return a(["schema",a(t," "),s(r)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:o((function(e){return a(["scalar",e.name,a(e.directives," ")]," ")})),ObjectTypeDefinition:o((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return a(["type",t,u("implements ",a(r," & ")),a(n," "),s(i)]," ")})),FieldDefinition:o((function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(f(r)?u("(\n",c(a(r,"\n")),"\n)"):u("(",a(r,", "),")"))+": "+n+u(" ",a(i," "))})),InputValueDefinition:o((function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return a([t+": "+r,u("= ",n),a(i," ")]," ")})),InterfaceTypeDefinition:o((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return a(["interface",t,u("implements ",a(r," & ")),a(n," "),s(i)]," ")})),UnionTypeDefinition:o((function(e){var t=e.name,r=e.directives,n=e.types;return a(["union",t,a(r," "),n&&0!==n.length?"= "+a(n," | "):""]," ")})),EnumTypeDefinition:o((function(e){var t=e.name,r=e.directives,n=e.values;return a(["enum",t,a(r," "),s(n)]," ")}
1)),EnumValueDefinition:o((function(e){return a([e.name,a(e.directives," ")]," ")})),InputObjectTypeDefinition:o((function(e){var t=e.name,r=e.directives,n=e.fields;return a(["input",t,a(r," "),s(n)]," ")})),DirectiveDefinition:o((function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(f(r)?u("(\n",c(a(r,"\n")),"\n)"):u("(",a(r,", "),")"))+(n?" repeatable":"")+" on "+a(i," | ")})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return a(["extend schema",a(t," "),s(r)]," ")},ScalarTypeExtension:function(e){return a(["extend scalar",e.name,a(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return a(["extend type",t,u("implements ",a(r," & ")),a(n," "),s(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return a(["extend interface",t,u("implements ",a(r," & ")),a(n," "),s(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return a(["extend union",t,a(r," "),n&&0!==n.length?"= "+a(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return a(["extend enum",t,a(r," "),s(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return a(["extend input",t,a(r," "),s(n)]," ")}};function o(e){return function(t){return a([t.description,e(t)],"\n")}}function a(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",c(a(e,"\n")),"\n}")}function u(e,t){return null!=t&&""!==t?e+t+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:""):""}function c(e){return u("  ",e.replace(/\n/g,"\n  "))}function l(e){return-1!==e.indexOf("\n")}function f(e){return null!=e&&e.some(l)}var h,d=r(599),p=r(81212),v=r(35051),y=Object.assign((function(e){var t=h.get(e);return t||(t=function(e){return(0,n.YR)(e,{leave:i})}(e),h.set(e,t)),t}),{reset:function(){h=new d.A(p.v.print||2e3)}});y.reset(),!1!==globalThis.__DEV__&&(0,v.D_)("print",(function(){return h?h.size:0}))},43298:(e,t,r)=>{r.d(t,{b:()=>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"})},45410:(e,t,r)=>{r.d(t,{z:()=>l});
1var n=r(43298),i=r(60857),o=r(25583),a=r(15381),s=r(64083),u=r(65215),c=r(84824);function l(e,t,r,l){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter((function(e){return e.kind===n.b.FRAGMENT_DEFINITION}));void 0===l&&((0,o.V1)(1===f.length,49,f.length),l=f[0].name.value);var h=f.find((function(e){return e.name.value===l}));return(0,o.V1)(!!h,50,l),null==e||(0,a.A)(e,{})?e:(0,s.S)(e,h.selectionSet,{operationType:"fragment",operationName:h.name.value,fragmentMap:(0,u.JG)((0,c.zK)(t)),cache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},45636:(e,t,r)=>{r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},53978:(e,t,r)=>{r.d(t,{R:()=>Ve});var n=r(31635),i=r(25583),o=r(73401),a=r(84824);function s(e,t){return t?t(e):o.c.of()}function u(e){return"function"==typeof e?new l(e):e}function c(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return o.c.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var i,a=u(r),l=u(n||new e(s));return i=c(a)&&c(l)?new e((function(e){return t(e)?a.request(e)||o.c.of():l.request(e)||o.c.of()})):new e((function(e,r){return t(e)?a.request(e,r)||o.c.of():l.request(e,r)||o.c.of()})),Object.assign(i,{left:a,right:l})},e.execute=function(e,t){return e.request(function(e,t){var r=(0,n.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"==typeof e?(0,n.Cl)((0,n.Cl)({},r),e(r)):(0,n.Cl)((0,n.Cl)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.Cl)({},r)}}),t}(t.context,function(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!=typeof t.query?(0,a.n4)(t.query)||void 0:""),t}(function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];if(t.indexOf(o)<0)throw(0,i.vA)(46,o)}return e}(t))))||o.c.of()},e.concat=function(t,r){var n=u(t);if(c(n))return!1!==globalThis.__DEV__&&i.V1.warn(38,n),n;var a,s=u(r);return a=c(s)?new e((function(e){return n.request(e,(function(e){return s.request(e)||o.c.of()}))||o.c.of()})):new e((function(e,t){return n.request(e,(function(e){return s.request(e,t)||o.c.of()}))||o.c.of()})),Object.assign(a,{left:n,right:s})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,i.vA)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),f=l.execute,h=r(10435),d=r(91250),p=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,i.vA)(42,t,e.message);throw n.parseError=e,n}return r},v=r(2619);function y(e){var t={next:function(){return e.read()}};return v.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}function m(e){var t,r,n,i=e;if(e.body&&(i=e.body),n=i,v.uJ&&n[Symbol.asyncIterator])return r=i[Symbol.asyncIterator](),(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t;if(function(e){return!!e.getReader}(i))return y(i.getReader());if(function(e){return!!e.stream}(i))return y(i.stream().getReader());if(function(e){return!!e.arrayBuffer}(i))return function(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise((function(t,r){e.then((function(e){t({value:e,done:!1})})).catch(r)})))}};return v.uJ&&(r[Symbol.asyncIterator]=function(){return this}),r}(i.arrayBuffer());if(function(e){return!!e.pipe}(i))return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach((function(t){t[1](e)})),!t||t()}
1function u(){n=!0,o.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var c={next:function(){return new Promise((function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])}))}};return v.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}(i);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var g=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},b=r(12456),_=Symbol();function w(e){return e.hasOwnProperty("graphQLErrors")}var O=function(e){function t(r){var i,o,a=r.graphQLErrors,s=r.protocolErrors,u=r.clientErrors,c=r.networkError,l=r.errorMessage,f=r.extraInfo,h=e.call(this,l)||this;return h.name="ApolloError",h.graphQLErrors=a||[],h.protocolErrors=s||[],h.clientErrors=u||[],h.networkError=c||null,h.message=l||(i=h,o=(0,n.fX)((0,n.fX)((0,n.fX)([],i.graphQLErrors,!0),i.clientErrors,!0),i.protocolErrors,!0),i.networkError&&o.push(i.networkError),o.map((function(e){return(0,b.U)(e)&&e.message||"Error message not found."})).join("\n")),h.extraInfo=f,h.cause=(0,n.fX)((0,n.fX)((0,n.fX)([c],a||[],!0),s||[],!0),u||[],!0).find((function(e){return!!e}))||null,h.__proto__=t.prototype,h}return(0,n.C6)(t,e),t}(Error),E=r(45636),S=r(92922);function k(e){return"incremental"in e}function T(e){return(0,b.U)(e)&&"payload"in e}function C(e,t){var r=e,n=new S.ZI;return k(t)&&(0,E.E)(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)})),r}var D=Object.prototype.hasOwnProperty;function I(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}})),t}function x(e,t){e.status>=300&&g(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}}var R=r(38956),F={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},V=function(e,t){return t(e)};function j(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach((function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)})),o.headers&&(o.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]=e[t]})),r}var n={};Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}}));var i={};return Object.keys(n).forEach((function(e){i[n[e].originalName]=n[e].value})),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(l,R.y)),{options:o,body:f}}function N(e){return new o.c((function(t){t.error(e)}))}var A=r(88607),M=r(3902),q=(0,i.no)((function(){return fetch})),P=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,s=e.fetch,u=e.print,c=void 0===u?V:u,f=e.includeExtensions,h=e.preserveHeaderCase,v=e.useGETForQueries,y=e.includeUnusedVariables,b=void 0!==y&&y,w=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw(0,i.vA)(40)}(s||q);var O={http:{includeExtensions:f,preserveHeaderCase:h},options:w.fetchOptions,credentials:w.credentials,headers:w.headers};return new l((function(e){var t=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}(e,r),u=e.getContext(),l={};if(u.clientAwareness){var f=u.clientAwareness,h=f.name,y=f.version;h&&(l["apollographql-client-name"]=h),y&&(l["apollographql-client-version"]=y)}var w=(0,n.Cl)((0,n.Cl)({},l),u.headers),E={http:u.http,options:u.fetchOptions,credentials:u.credentials,headers:w};if((0,d.d8)(["client"],e.query)){var S=(0,M.er)(e.query);if(!S)return N(new Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=S}var k,C,R,V,P,Q=j(e,c,F,O,E),L=Q.options,z=Q.body;z.variables&&!b&&(z.variables=(k=z.variables,C=e.query,R=(0,n.Cl)({},k),V=new Set(Object.keys(k)),(0,A.YR)(C,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&V.delete(e.name.value)}}),V.forEach((function(e){delete R[e]})),R)),L.signal||"undefined"==typeof AbortController||(P=new AbortController,L.signal=P.signal);var U,W="OperationDefinition"===(U=(0,a.Vn)(e.query)).kind&&"subscription"===U.operation,B=(0,d.d8)(["defer"],e.query);if(v&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(L.method="GET"),B||W){L.headers=L.headers||{};var Y="multipart/mixed;";W&&B&&!1!==globalThis.__DEV__&&i.V1.warn(41),W?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":B&&(Y+="deferSpec=20220824,application/json"),L.headers.accept=Y}if("GET"===L.method){var J=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=p(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=p(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(t,z),K=J.newURI,G=J.parseError;if(G)return N(G);t=K}else try{L.body=p(z,"Payload")}catch(G){return N(G)}return new o.c((function(r){var o=s||(0,i.no)((function(){return fetch}))||q,a=r.next.bind(r);return o(t,L).then((function(t){var r;e.setContext({response:t});var i,o=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.sH)(this,void 0,void 0,(function(){var r,i,o,a,s,u,c,l,f,h,d,p,v,y,g,b,w,O,E,S,k,C,D,R;return(0,n.YH)(this,(function(F){switch(F.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=null===(R=e.headers)||void 0===R?void 0:R.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",c=m(e),l=!0,F.label=1;case 1:return l?[4,c.next()]:[3,3];case 2:for(f=F.sent(),h=f.value,d=f.done,p="string"==typeof h?h:r.decode(h),v=u.length-s.length+1,l=!d,y=(u+=p).indexOf(s,v);y>-1;){if(g=void 0,C=[u.slice(0,y),u.slice(y+s.length)],u=C[1],b=(g=C[0]).indexOf("\r\n\r\n"),w=I(g.slice(0,b)),(O=w["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");
1if(E=g.slice(b))if(S=x(e,E),Object.keys(S).length>1||"data"in S||"incremental"in S||"errors"in S||"payload"in S)if(T(S)){if(k={},"payload"in S){if(1===Object.keys(S).length&&null===S.payload)return[2];k=(0,n.Cl)({},S.payload)}"errors"in S&&(k=(0,n.Cl)((0,n.Cl)({},k),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in k?k.extensions:null),(D={},D[_]=S.errors,D))})),t(k)}else t(S);else if(1===Object.keys(S).length&&"hasNext"in S&&!S.hasNext)return[2];y=u.indexOf(s)}return[3,1];case 3:return[2]}}))}))}(t,a):(i=e,function(e){return e.text().then((function(t){return x(e,t)})).then((function(t){return Array.isArray(t)||D.call(t,"data")||D.call(t,"errors")||g(e,t,"Server response was missing for query '".concat(Array.isArray(i)?i.map((function(e){return e.operationName})):i.operationName,"'.")),t}))})(t).then(a)})).then((function(){P=void 0,r.complete()})).catch((function(e){P=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,r)})),function(){P&&P.abort()}}))}))}(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(l),Q=r(15381),L=r(65215),z=r(96269),U=r(29993);function W(e,t,r){return new o.c((function(n){var i={then:function(e){return new Promise((function(t){return t(e())}))}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then((function(e){return n.next(e)}),(function(e){return n.error(e)}))}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then((function(){return n.complete()}))}},s=e.subscribe(a);return function(){return s.unsubscribe()}}))}function B(e){var t=Y(e);return(0,E.E)(t)}function Y(e){var t=(0,E.E)(e.errors)?e.errors.slice(0):[];return k(e)&&(0,E.E)(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}var J=r(67194),K=r(98170);function G(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function H(e){function t(t){Object.defineProperty(e,t,{value:o.c})}return v.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function X(e){return e&&"function"==typeof e.then}var $,Z=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),G(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),G(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?X(i)?i.then((function(e){return r.sub=e.subscribe(r.handlers)}),r.handlers.error):r.sub=i.subscribe(r.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),G(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch((function(e){})),"function"==typeof t&&(t=[new o.c(t)]),X(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return(0,n.C6)(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}(o.c);function ee(e){return!!e&&e<7}H(Z),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"}($||($={}));var te=r(87945),re=r(91495),ne=r(9080),ie=r(6839),oe=Object.assign,ae=Object.hasOwnProperty,se=function(e){function t(r){var i=r.queryManager,o=r.queryInfo,s=r.options,u=this,c=t.inactiveOnCreation.getValue();(u=e.call(this,(function(e){c&&(i.queries.set(u.queryId,o),c=!1);try{var t=e._subscription._observer;t&&!t.error&&(t.error=ce)}catch(e){}var r=!u.observers.size;u.observers.add(e);var n=u.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(u.maskResult(n.result)),r&&u.reobserve().catch((function(){})),function(){u.observers.delete(e)&&!u.observers.size&&u.tearDownQuery()}}))||this).observers=new Set,u.subscriptions=new Set,u.queryInfo=o,u.queryManager=i,u.waitForOwnResult=fe(s.fetchPolicy),u.isTornDown=!1,u.subscribeToMore=u.subscribeToMore.bind(u),u.maskResult=u.maskResult.bind(u);var l=i.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,h=void 0===f?"cache-first":f,d=s.fetchPolicy,p=void 0===d?h:d,v=s.initialFetchPolicy,y=void 0===v?"standby"===p?h:p:v;u.options=(0,n.Cl)((0,n.Cl)({},s),{initialFetchPolicy:y,fetchPolicy:p}),u.queryId=o.queryId||i.generateQueryId();var m=(0,a.Vu)(u.query);return u.queryName=m&&m.name&&m.name.value,u}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:r},i=e.subscribe(n)}))},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||$.ready,i=(0,n.Cl)((0,n.Cl)({},t),{loading:ee(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if(fe(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,Q.L)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,!s.complete||i.networkStatus!==$.loading||"cache-first"!==a&&"cache-only"!==a||(i.networkStatus=$.ready,i.loading=!1)):i.partial=!0,i.networkStatus===$.ready&&(i.error||i.errors)&&(i.networkStatus=$.error),!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||le(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,ne.a)(i,this.last.result,e,this.variables):!(0,Q.L)(this.last.result,e))||t&&!(0,Q.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,Q.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if(r.fetchPolicy="no-cache"===o?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&ae.call(e,"variables")){var s=(0,a.AT)(this.query),u=s.variableDefinitions;u&&u.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&i.V1.warn(21,e,(null===(t=s.name)||void 0===t?void 0:t.value)||s)}return e&&!(0,Q.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,$.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var a=this.queryInfo,s=a.networkStatus;a.networkStatus=$.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var u=new Set,c=null==e?void 0:e.updateQuery,l="no-cache"!==this.options.fetchPolicy;return l||(0,i.V1)(c,22),this.queryManager.fetchQuery(o,r,$.fetchMore).then((function(i){if(t.queryManager.removeQuery(o),a.networkStatus===$.fetchMore&&(a.networkStatus=s),l)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},(function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})})):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){u.add(e.query)}});else{var f=t.getLast("result"),h=c(f.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},f),{networkStatus:s,loading:ee(s),data:h}),t.variables)}return t.maskResult(i)})).finally((function(){l&&!u.has(t.query)&&ue(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery((function(e,t){return i(e,(0,n.Cl)({subscriptionData:r},t))}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&i.V1.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,te.o)(this.options,e||{});oe(this.options,t)},t.prototype.setVariables=function(e){return(0,Q.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},$.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this.queryManager.getOrCreateQuery(this.queryId);return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r&&this.hasObservers()){if(!t||t.interval!==r){(0,i.V1)(r,24),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&(ee(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},$.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,Q.L)(t,this.last.variables)&&(r=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,re.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===$.refetch||t===$.fetchMore||t===$.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,te.o)(this.options,e||{}),u=i?s:oe(this.options,s),c=this.transformDocument(u.query);this.lastQuery=c,i||(this.updatePolling(),!e||!e.variables||(0,Q.L)(e.variables,o)||"standby"===u.fetchPolicy||u.fetchPolicy!==a&&"function"!=typeof u.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=$.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=fe(u.fetchPolicy));var l=function(){r.concast===d&&(r.waitForOwnResult=!1)},f=u.variables&&(0,n.Cl)({},u.variables),h=this.fetch(u,t,c),d=h.concast,p=h.fromLink,v={next:function(e){(0,Q.L)(r.variables,f)&&(l(),r.reportResult(e,f))},error:function(e){(0,Q.L)(r.variables,f)&&(w(e)||(e=new O({networkError:e})),l(),r.reportError(e,f))}};return i||!p&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=d,this.observer=v),d.addObserver(v),d},t.prototype.reobserve=function(e,t){return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch((function(){})),r;var r},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&G(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,n.Cl)((0,n.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:$.error,loading:!1});this.updateLastResult(r,t),G(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.Cl)((0,n.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.inactiveOnCreation=new ie.DX,t}(o.c);function ue(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(e,t){return this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function ce(e){!1!==globalThis.__DEV__&&i.V1.error(25,e.message,e.stack)}function le(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(26,e)}function fe(e){return"network-only"===e||"no-cache"===e||"standby"===e}H(se);var he=new(v.et?WeakMap:Map);function de(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return he.set(e,(he.get(e)+1)%1e15),r.apply(this,arguments)})}function pe(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var ve=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;he.has(r)||(he.set(r,0),de(r,"evict"),de(r,"modify"),de(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||$.loading;return this.variables&&this.networkStatus!==$.loading&&!(0,Q.L)(this.variables,e.variables)&&(t=$.
1setVariables),(0,Q.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){pe(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,Q.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,r=this,n=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError())||(this.updateLastDiff(e),this.dirty||(0,Q.L)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return r.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():ue(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;pe(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(ee(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();var e=this.observableQuery;e&&e.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,Q.L)(i,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===he.get(this.cache)&&(0,Q.L)(t,r.variables)&&(0,Q.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new S.ZI,a=(0,E.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,E.E)(e.incremental)){var s=C(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(ye(e,r.errorPolicy)?this.cache.performTransaction((function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:he.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete)return void(e.data=i.lastDiff.diff.result);var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,Q.L)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=$.ready},e.prototype.markError=function(e){return this.networkStatus=$.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function ye(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!B(e);return!n&&r&&e.data&&(n=!0),n}var me=r(32453),ge=r(599),be=r(81212),_e=r(64083),we=r(60857),Oe=r(45410),Ee=Object.prototype.hasOwnProperty,Se=Object.create(null),ke=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new ge.A(be.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new me.b(!1),this.noCacheWarningsByQueryId=new Set;
1var r=new U.c((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches((0,i.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,(function(e){var t,r,o,a,s,u,c,l=e.mutation,f=e.variables,h=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,v=void 0===p?[]:p,y=e.awaitRefetchQueries,m=void 0!==y&&y,g=e.update,b=e.onQueryUpdated,_=e.fetchPolicy,w=void 0===_?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.fetchPolicy)||"network-only":_,E=e.errorPolicy,S=void 0===E?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":E,k=e.keepRootFields,T=e.context;return(0,n.YH)(this,(function(e){switch(e.label){case 0:return(0,i.V1)(l,28),(0,i.V1)("network-only"===w||"no-cache"===w,29),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),r?[4,this.localState.addExportedVariables(l,f,T)]:[3,2];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=h&&this.markMutationOptimistic(h,{mutationId:t,document:l,variables:f,fetchPolicy:w,errorPolicy:S,context:T,updateQueries:d,update:g,keepRootFields:k}),this.broadcastQueries(),s=this,[2,new Promise((function(e,r){return W(s.getObservableFromLink(l,(0,n.Cl)((0,n.Cl)({},T),{optimisticResponse:a?h:void 0}),f,{},!1),(function(e){if(B(e)&&"none"===S)throw new O({graphQLErrors:Y(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===S&&B(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:w,errorPolicy:S,context:T,update:g,updateQueries:d,awaitRefetchQueries:m,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:b,keepRootFields:k})})).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.Cl)((0,n.Cl)({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:w,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof O?e:new O({networkError:e}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],s="no-cache"===e.fetchPolicy;if(!s&&ye(i,e.errorPolicy)){if(k(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),k(i)&&(0,E.E)(i.incremental)){var u=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;u.result&&(c=C(u.result,i)),void 0!==c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach((function(e,n){var s=e.observableQuery,u=s&&s.queryName;if(u&&Ee.call(l,u)){var c=l[u],f=r.queries.get(n),h=f.document,d=f.variables,p=t.diff({query:h,variables:d,returnPartialData:!0,optimistic:!1}),v=p.result;if(p.complete&&v){var y=c(v,{mutationResult:i,queryName:h&&(0,a.n4)(h)||void 0,queryVariables:d});y&&o.push({result:y,dataId:"ROOT_QUERY",query:h,variables:d})}}}))}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){s||o.forEach((function(e){return t.write(e)}));var a,u=e.update,c=!(k(a=i)||function(e){return"hasNext"in e&&"data"in e}(a))||k(i)&&!i.hasNext;if(u){if(!s){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1);l.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&u(t,i,{context:e.context,variables:e.variables})}s||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return f.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then((function(){return i}))}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables,{IGNORE:Se}):e;return o!==Se&&(this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}}),t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var 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),nonReactiveQuery:(0,M.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,M.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,a.wY)((0,a.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new ve(this),i=new se({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,se.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,30),(0,i.V1)("Document"===e.query.kind,31),(0,i.V1)(!e.returnPartialData,32),(0,i.V1)(!e.pollInterval,33);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:o})).then((function(i){return i&&(0,n.Cl)((0,n.Cl)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})})).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,i.vA)(34)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=$.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,s=new Map,u=new Set;return Array.isArray(e)&&e.forEach((function(e){if("string"==typeof e)o.set(e,e),s.set(e,!1);else if((0,J.Kc)(e)){var r=(0,R.y)(t.transform(e));o.set(r,(0,a.n4)(e)),s.set(r,!1)}
1else(0,b.U)(e)&&e.query&&u.add(e)})),this.queries.forEach((function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var a=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||a&&s.has(a)||o&&s.has((0,R.y)(o)))&&(r.set(n,i),a&&s.set(a,!0),o&&s.set((0,R.y)(o),!0))}})),u.size&&u.forEach((function(e){var o=(0,K.v)("legacyOneTimeQuery"),a=t.getOrCreateQuery(o).init({document:e.query,variables:e.variables}),s=new se({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)})),!1!==globalThis.__DEV__&&s.size&&s.forEach((function(e,t){if(!e){var r=o.get(t);r?!1!==globalThis.__DEV__&&i.V1.warn(35,r):!1!==globalThis.__DEV__&&i.V1.warn(36)}})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,a=e.errorPolicy,s=void 0===a?"none":a,u=e.context,c=void 0===u?{}:u,l=e.extensions,f=void 0===l?{}:l;r=this.transform(r),n=this.getVariables(r,n);var h=function(e){return t.getObservableFromLink(r,c,e,f).map((function(n){"no-cache"!==i&&(ye(n,s)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=B(n),a=function(e){return!!e.extensions&&Array.isArray(e.extensions[_])}(n);if(o||a){var u={};if(o&&(u.graphQLErrors=n.errors),a&&(u.protocolErrors=n.extensions[_]),"none"===s||a)throw new O(u)}return"ignore"===s&&delete n.errors,n}))};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,c).then(h);return new o.c((function(e){var t=null;return d.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return h(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null===(t=this.queries.get(e))||void 0===t||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,s){var u,c,l=this;void 0===s&&(s=null!==(u=null==t?void 0:t.queryDeduplication)&&void 0!==u?u:this.queryDeduplication);var h=this.getDocumentInfo(e),d=h.serverQuery,p=h.clientQuery;if(d){var v=this.inFlightLinkObservables,y=this.link,m={query:d,variables:r,operationName:(0,a.n4)(d)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!s})),extensions:i};if(t=m.context,s){var g=(0,R.y)(d),b=(0,z.M)(r),_=v.lookup(g,b);if(!(c=_.observable)){var w=new Z([f(y,m)]);c=_.observable=w,w.beforeNext((function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?w.beforeNext(e):v.remove(g,b)}))}}else c=new Z([f(y,m)])}else c=new Z([o.c.of({data:{}})]),t=this.prepareContext(t);return p&&(c=W(c,(function(e){return l.localState.runResolvers({document:p,remoteResult:e,context:t,variables:r})}))),c},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return W(this.getObservableFromLink(i,r.context,r.variables),(function(o){var a=Y(o),s=a.length>0,u=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===u)throw e.markError(new O({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:$.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=$.error),c}),(function(t){var r=w(t)?t:new O({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i=this;void 0===r&&(r=$.loading),void 0===n&&(n=t.query);var o,a,s=this.getVariables(n,t.variables),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,h=void 0===f?u&&u.errorPolicy||"none":f,d=t.returnPartialData,p=void 0!==d&&d,v=t.notifyOnNetworkStatusChange,y=void 0!==v&&v,m=t.context,g=void 0===m?{}:m,b=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:p,notifyOnNetworkStatusChange:y,context:g}),_=function(n){b.variables=n;var o=i.fetchQueryByPolicy(e,b,r);return"standby"!==b.fetchPolicy&&o.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),o},w=function(){return i.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,(function(e){w(),setTimeout((function(){return o.cancel(e)}))})),this.getDocumentInfo(b.query).hasClientExports)o=new Z(this.localState.addExportedVariables(b.query,b.variables,b.context).then(_).then((function(e){return e.sources}))),a=!0;else{var O=_(b.variables);a=O.fromLink,o=new Z(O.sources)}
1return o.promise.then(w,w),{concast:o,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,K.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){c.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof ve&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach((function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,o=e.document,s=e.data;if(!1!==globalThis.__DEV__){var u=e.fetchPolicy,c=e.id,l=null===(t=(0,a.Vu)(o))||void 0===t?void 0:t.operation,f=(null!==(r=null==l?void 0:l[0])&&void 0!==r?r:"o")+c;!this.dataMasking||"no-cache"!==u||(0,L.s6)(o)||this.noCacheWarningsByQueryId.has(f)||(this.noCacheWarningsByQueryId.add(f),!1!==globalThis.__DEV__&&i.V1.warn(37,null!==(n=(0,a.n4)(o))&&void 0!==n?n:"Unnamed ".concat(null!=l?l:"operation")))}return this.dataMasking?function(e,t,r){var n;if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,we.Ki)(),e;var o=(0,a.Vu)(t);return(0,i.V1)(o,51),null==e?e:(0,_e.S)(e,o.selectionSet,{operationType:o.operation,operationName:null===(n=o.name)||void 0===n?void 0:n.value,fragmentMap:(0,L.JG)((0,a.zK)(t)),cache:r,mutableTargets:new we.jq,knownChanged:new we.xm})}(s,o,this.cache):s},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,Oe.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,a=t.query,s=t.variables,u=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,h=t.context,d=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:a,variables:s,networkStatus:r});var v=function(){return e.getDiff()},y=function(t,r){void 0===r&&(r=e.networkStatus||$.loading);var u=t.result;!1===globalThis.__DEV__||f||(0,Q.L)(u,{})||le(t.missing);var c=function(e){return o.c.of((0,n.Cl)({data:e,loading:ee(r),networkStatus:r},t.complete?null:{partial:!0}))};return u&&i.getDocumentInfo(a).hasForcedResolvers?i.localState.runResolvers({document:a,remoteResult:{data:u},context:h,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data||void 0)})):"none"===l&&r===$.refetch&&Array.isArray(t.missing)?c(void 0):c(u)},m="no-cache"===u?0:r===$.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,m,{query:a,variables:s,context:h,fetchPolicy:u,errorPolicy:l})},b=d&&"number"==typeof p&&p!==r&&ee(r);switch(u){default:case"cache-first":return(_=v()).complete?{fromLink:!1,sources:[y(_,e.markReady())]}:f||b?{fromLink:!0,sources:[y(_),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var _;return(_=v()).complete||f||b?{fromLink:!0,sources:[y(_),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[y(v(),e.markReady())]};case"network-only":return b?{fromLink:!0,sources:[y(v()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return b?{fromLink:!0,sources:[y(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new ve(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),Te=r(43298);function Ce(e){return e.kind===Te.b.FIELD||e.kind===Te.b.FRAGMENT_SPREAD||e.kind===Te.b.INLINE_FRAGMENT}var De=r(90738),Ie=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=(0,S.D9)(t.resolvers,e)})):this.resolvers=(0,S.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){return(0,n.sH)(this,arguments,void 0,(function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.YH)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,n.Cl)((0,n.Cl)({},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,M.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.sH)(this,arguments,void 0,(function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.YH)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)}))]:[2,(0,n.Cl)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,A.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}
1))))return A.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,M.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.sH)(this,arguments,void 0,(function(e,t,r,i,o,s){var u,c,l,f,h,d,p,v,y,m;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,n.YH)(this,(function(g){return u=(0,a.Vn)(e),c=(0,a.zK)(e),l=(0,L.JG)(c),f=this.collectSelectionsToResolve(u,l),h=u.operation,d=h?h.charAt(0).toUpperCase()+h.slice(1):"Query",v=(p=this).cache,y=p.client,m={fragmentMap:l,context:(0,n.Cl)((0,n.Cl)({},r),{cache:v,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:d,exportedVariables:{},selectionsToResolve:f,onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,!1,t,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,(function(){var a,s,u,c,l,f=this;return(0,n.YH)(this,(function(h){return a=o.fragmentMap,s=o.context,u=o.variables,c=[r],l=function(e){return(0,n.sH)(f,void 0,void 0,(function(){var l,f;return(0,n.YH)(this,(function(n){return(t||o.selectionsToResolve.has(e))&&(0,d.MS)(e,u)?(0,J.dt)(e)?[2,this.resolveField(e,t,r,o).then((function(t){var r;void 0!==t&&c.push(((r={})[(0,J.ue)(e)]=t,r))}))]:((0,J.kd)(e)?l=e:(l=a[e.name.value],(0,i.V1)(l,19,e.name.value)),l&&l.typeCondition&&(f=l.typeCondition.name.value,o.fragmentMatcher(r,f,s))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,S.IM)(c)}))]}))}))},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,(function(){var o,a,s,u,c,l,f,h,d,p=this;return(0,n.YH)(this,(function(n){return r?(o=i.variables,a=e.name.value,s=(0,J.ue)(e),u=a!==s,c=r[s]||r[a],l=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?a:s])&&(l=Promise.resolve(De.bl.withValue(this.cache,d,[r,(0,J.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then((function(r){var n,o;if(void 0===r&&(r=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)}))}
1)),!e.selectionSet)return r;if(null==r)return r;var a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some((function(e){return"client"===e.name.value})))&&void 0!==o&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,A.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach((function(e){r(e)&&Ce(e)&&a.add(e)}))},FragmentSpread:function(n,o,s,u,c){var l=t[n.name.value];(0,i.V1)(l,20,n.name.value);var f=e(l);f.size>0&&(c.forEach((function(e){r(e)&&Ce(e)&&a.add(e)})),a.add(n),f.forEach((function(e){a.add(e)})))}})}return n.get(o)}(e)},e}();function xe(e,t){return(0,te.o)(e,t,t.variables&&{variables:(0,te.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}var Re=r(35051),Fe=!1,Ve=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var o=e.uri,a=e.credentials,s=e.headers,u=e.cache,c=e.documentTransform,f=e.ssrMode,d=void 0!==f&&f,p=e.ssrForceFetchDelay,v=void 0===p?0:p,y=e.connectToDevTools,m=e.queryDeduplication,g=void 0===m||m,b=e.defaultOptions,_=e.defaultContext,w=e.assumeImmutableResults,O=void 0===w?u.assumeImmutableResults:w,E=e.resolvers,S=e.typeDefs,k=e.fragmentMatcher,T=e.name,C=e.version,D=e.devtools,I=e.dataMasking,x=e.link;x||(x=o?new P({uri:o,credentials:a,headers:s}):l.empty()),this.link=x,this.cache=u,this.disableNetworkFetches=d||v>0,this.queryDeduplication=g,this.defaultOptions=b||Object.create(null),this.typeDefs=S,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},D),{enabled:null!==(t=null==D?void 0:D.enabled)&&void 0!==t?t:y}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),v&&setTimeout((function(){return r.disableNetworkFetches=!1}),v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=h.r,this.localState=new Ie({cache:u,client:this,resolvers:E,fragmentMatcher:k}),this.queryManager=new ke({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:c,queryDeduplication:g,ssrMode:d,dataMasking:!!I,clientAwareness:{name:T,version:C},localState:this.localState,assumeImmutableResults:O,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,Fe||!1===globalThis.__DEV__||(Fe=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout((function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.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}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=xe(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=xe(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=xe(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map((function(i){return(0,n.Cl)((0,n.Cl)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})}))},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.Cl)((0,n.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return f(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!1})})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore({discardWatches:!0})})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach((function(e,t){r.push(t),n.push(e)}));var o=Promise.all(n);return o.queries=r,o.results=n,o.catch((function(e){!1!==globalThis.__DEV__&&i.V1.debug(18,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},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(Ve.prototype.getMemoryInternals=Re.ep)},60857:(e,t,r)=>{r.d(t,{Ki:()=>l,jq:()=>a,xm:()=>s,yV:()=>u});var n=r(6839),i=r(25583),o=r(2619),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,u=new n.DX,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.V1.warn(52))}},64083:(e,t,r)=>{r.d(t,{S:()=>c});var n=r(43298),i=r(21469),o=r(67194),a=r(91250),s=r(60857),u=r(25583);function c(e,t,r){return s.yV.withValue(!0,(function(){var n=l(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(n),n}))}function l(e,t,r,i,s){var c,h=r.knownChanged,d=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(e,r.mutableTargets);if(Array.isArray(e)){for(var p=0,v=Array.from(e.entries());p<v.length;p++){var y=v[p],m=y[0],g=y[1];if(null!==g){var b=l(g,t,r,i,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(m,"]"):void 0);h.has(b)&&h.add(d),d[m]=b}else d[m]=null}return h.has(d)?d:e}for(var _=0,w=t.selections;_<w.length;_++){var O=w[_],E=void 0;if(i&&h.add(d),O.kind===n.b.FIELD){var S=(0,o.ue)(O),k=O.selectionSet;if(void 0===(E=d[S]||e[S]))continue;k&&null!==E&&(b=l(e[S],k,r,i,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(S):void 0),h.has(b)&&(E=b)),!1===globalThis.__DEV__&&(d[S]=E),!1!==globalThis.__DEV__&&(i&&"__typename"!==S&&!(null===(c=Object.getOwnPropertyDescriptor(d,S))||void 0===c?void 0:c.value)?Object.defineProperty(d,S,f(S,E,s||"",r.operationName,r.operationType)):(delete d[S],d[S]=E))}if(O.kind!==n.b.INLINE_FRAGMENT||O.typeCondition&&!r.cache.fragmentMatches(O,e.__typename)||(E=l(e,O.selectionSet,r,i,s)),O.kind===n.b.FRAGMENT_SPREAD){var T=O.name.value,C=r.fragmentMap[T]||(r.fragmentMap[T]=r.cache.lookupFragment(T));(0,u.V1)(C,47,T);var D=(0,a.s7)(O);"mask"!==D&&(E=l(e,C.selectionSet,r,"migrate"===D,s))}h.has(E)&&h.add(d)}return"__typename"in e&&!("__typename"in d)&&(d.__typename=e.__typename),Object.keys(d).length!==Object.keys(e).length&&h.add(d),h.has(d)?d:e}function f(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}},65215:(e,t,r)=>{r.d(t,{HQ:()=>u,JG:()=>s,ct:()=>a,s6:()=>c});var n=r(31635),i=r(25583),o=r(88607);function a(e,t){var r=t,o=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)})),void 0===r&&((0,i.V1)(1===o.length,86,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;
1case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,87,r),n||null;default:return null}}function c(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some((function(e){return"unmask"===e.name.value}))))return o.sP}}),t}},67194:(e,t,r)=>{r.d(t,{A_:()=>u,D$:()=>m,Ii:()=>f,J:()=>l,Kc:()=>c,MB:()=>v,WU:()=>s,dt:()=>g,kd:()=>b,o5:()=>p,ue:()=>y});var n=r(25583),i=r(12456),o=r(65215),a=r(96269);function s(e){return{__ref:String(e)}}function u(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function l(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return l(o,e.name,e.value,i)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(i||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return l(r,t,e,i),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw(0,n.vA)(96,t.value,r.kind);e[t.value]=null}}function f(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var i=n.name,o=n.value;return l(r[e.name.value],i,o,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,i=e.value;return l(n,r,i,t)}))),p(e.name.value,n,r)}var h=["connection","include","skip","client","rest","export","nonreactive"],d=a.M,p=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),"".concat(r.connection.key,"(").concat(d(i),")")}return r.connection.key}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach((function(e){-1===h.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(d(r[e]),")"):o+="@".concat(e))})),o}),{setStringify:function(e){var t=d;return d=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return l(r,n,i,t)})),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e,t,r){for(var n,i=0,a=t.selections;i<a.length;i++)if(g(c=a[i])){if("__typename"===c.name.value)return e[y(c)]}else n?n.push(c):n=[c];if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,u=n;s<u.length;s++){var c=u[s],l=m(e,(0,o.HQ)(c,r).selectionSet,r);if("string"==typeof l)return l}}function g(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},73401:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>E});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&Boolean(Symbol[e])},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:E}function p(e){return e instanceof E}function v(e){v.log?v.log(e):setTimeout((function(){throw e}))}function y(e){Promise.resolve().then((function(){try{e()}catch(e){v(e)}}))}function m(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){v(e)}}function g(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function b(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(g(e),!i)throw r;i.call(n,r);break;case"complete":g(e),i&&i.call(n)}}catch(e){v(e)}"closed"===e._state?m(e):"running"===e._state&&(e._state="ready")}function _(e,t,r){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:r}],void y((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(b(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)}))):void b(e,t,r);e._queue.push({type:t,value:r})}}var w=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new O(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(g(this),m(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),O=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){_(this._subscription,"next",e)},t.error=function(e){_(this._subscription,"error",e)},t.complete=function(){_(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),E=function(){function e(t){if(!(this instanceof e))throw new TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw new TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return"object"==typeof e&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new w(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(r,n){if("function"==typeof e)var i=t.subscribe({next:function(t){try{e(t,o)}catch(e){n(e),i.unsubscribe()}},error:n,complete:r});else n(new TypeError(e+" is not a function"));function o(){i.unsubscribe(),r()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(d(this))((function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})}))},t.filter=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(d(this))((function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})}))},t.reduce=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var r=d(this),n=arguments.length>1,i=!1,o=arguments[1];return new r((function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})}))},t.concat=function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=d(this);return new i((function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}}))},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");var r=d(this);return new r((function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),o.unsubscribe()}}))},t[l]=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 i=h(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return p(o)&&o.constructor===r?o:new r((function(e){return o.subscribe(e)}))}if(s("iterator")&&(i=h(t,c)))return new r((function(e){y((function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){y((function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}}))}));throw new TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)((function(e){y((function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}}))}))},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(E,Symbol("extensions"),{value:{symbol:l,hostReportError:v},configurable:!0})},81212:(e,t,r)=>{r.d(t,{v:()=>a});var n=r(31635),i=r(25583),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},84824:(e,t,r)=>{r.d(t,{AT:()=>c,E4:()=>l,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>h,zK:()=>u});var n=r(25583),i=r(67194);function o(e){(0,n.V1)(e&&"Document"===e.kind,88);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(89,e.kind);return e}));return(0,n.V1)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function s(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function u(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function c(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,91),t}function l(e){(0,n.V1)("Document"===e.kind,92),(0,n.V1)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,94),t}function f(e){var t;o(e);for(var r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(95)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)})),t}},87945:(e,t,r)=>{function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var n=e[t];void 0!==n&&(r[t]=n)}))})),r}r.d(t,{o:()=>n})},88607:(e,t,r)=>{r.d(t,{sP:()=>f,YR:()=>h});const n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}var o=10,a=2;function s(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";
1var r=[].concat(t,[e]),i=function(e){var t=e[String(n)];return"function"==typeof t?t:"function"==typeof e.inspect?e.inspect:void 0}(e);if(void 0!==i){var u=i.call(e);if(u!==e)return"string"==typeof u?u:s(u,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>a)return"[Array]";for(var r=Math.min(o,e.length),n=e.length-r,i=[],u=0;u<r;++u)i.push(s(e[u],t));return 1===n?i.push("... 1 more item"):n>1&&i.push("... ".concat(n," more items")),"["+i.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);return 0===r.length?"{}":t.length>a?"["+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)+"]":"{ "+r.map((function(r){return r+": "+s(e[r],t)})).join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}function u(e){var t=e.prototype.toJSON;"function"==typeof t||function(){if(!Boolean(0))throw new Error("Unexpected invariant triggered.")}(),e.prototype.inspect=t,n&&(e.prototype[n]=t)}function c(e){return null!=e&&"string"==typeof e.kind}u(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}()),u(function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}());var l={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"]},f=Object.freeze({});function h(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,n=void 0,i=Array.isArray(e),o=[e],a=-1,u=[],h=void 0,p=void 0,v=void 0,y=[],m=[],g=e;do{var b=++a===o.length,_=b&&0!==u.length;if(b){if(p=0===m.length?void 0:y[y.length-1],h=v,v=m.pop(),_){if(i)h=h.slice();else{for(var w={},O=0,E=Object.keys(h);O<E.length;O++){var S=E[O];w[S]=h[S]}h=w}for(var k=0,T=0;T<u.length;T++){var C=u[T][0],D=u[T][1];i&&(C-=k),i&&null===D?(h.splice(C,1),k++):h[C]=D}}a=n.index,o=n.keys,u=n.edits,i=n.inArray,n=n.prev}else{if(p=v?i?a:o[a]:void 0,null==(h=v?v[p]:g))continue;v&&y.push(p)}var I,x=void 0;if(!Array.isArray(h)){if(!c(h))throw new Error("Invalid AST Node: ".concat(s(h,[]),"."));var R=d(t,h.kind,b);if(R){if((x=R.call(t,h,p,v,y,m))===f)break;
1if(!1===x){if(!b){y.pop();continue}}else if(void 0!==x&&(u.push([p,x]),!b)){if(!c(x)){y.pop();continue}h=x}}}void 0===x&&_&&u.push([p,h]),b?y.pop():(n={inArray:i,index:a,keys:o,edits:u,prev:n},o=(i=Array.isArray(h))?h:null!==(I=r[h.kind])&&void 0!==I?I:[],a=-1,u=[],v&&m.push(v),v=h)}while(void 0!==n);return 0!==u.length&&(g=u[u.length-1][1]),g}function d(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}},90738:(e,t,r)=>{r.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var n=r(6839),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach((function(t){return t.forgetCache(e)}))}function u(e){a(e).vars.forEach((function(t){return t.attachCache(e)}))}function c(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach((function(e){a(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var u=Array.from(r);r.clear(),u.forEach((function(t){return t(e)}))}}else{var c=i.getValue();c&&(o(c),a(c).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},91250:(e,t,r)=>{r.d(t,{MS:()=>a,d8:()=>s,f2:()=>u,s7:()=>c});var n=r(25583),i=r(88607),o=r(43298);function a(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];return e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;(0,n.V1)(r&&1===r.length,79,i);var o=r[0];(0,n.V1)(o.name&&"if"===o.name.value,80,i);var a=o.value;(0,n.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),81,i),t.push({directive:e,ifArgument:o})}})),t}(r).every((function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o}))}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function u(e){return e&&s(["client","export"],e,!0)}function c(e){var t,r,i=null===(t=e.directives)||void 0===t?void 0:t.find((function(e){return"unmask"===e.name.value}));if(!i)return"mask";var a=null===(r=i.arguments)||void 0===r?void 0:r.find((function(e){return"mode"===e.name.value}));return!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(82):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value?"migrate":"unmask"}},91495:(e,t,r)=>{r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach((function(e,n){r[n]=o(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach((function(r){i[r]=o(e[r],t)})),i;default:return e}}},92922:(e,t,r)=>{r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>c});var n=r(31635),i=r(12456),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach((function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]})),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}()},96269:(e,t,r)=>{r.d(t,{M:()=>s});
1var n,i=r(599),o=r(81212),a=r(35051),s=Object.assign((function(e){return JSON.stringify(e,u)}),{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(c))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach((function(e){u[e]=t[e]})),u}}return t}function c(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",(function(){return n.size})),s.reset()},98170:(e,t,r)=>{r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}}}]);
2//# sourceMappingURL=813.chunk.be669297dee00faec1d6.min.js.map

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