1/*! For license information please see app-ad4a76309276942b0e28.js.LICENSE.txt */ 2(self.webpackChunkgatsby_starter_default=self.webpackChunkgatsby_starter_default||[]).push([[524],{20:function(e,t,r){const n=r(9377),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=r(6814).Zf;t.N=function(e,t,r,s){void 0===t&&(t={});let c=n.map((r=>{if(!r.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=i,t.loadPageSync=a;const n=r.plugin[e](t,r.options);return n&&s&&(t=s({args:t,result:n,plugin:r})),n}));return c=c.filter((e=>void 0!==e)),c.length>0?c:r?[r]:[]},t.v=(e,t,r)=>n.reduce(((r,n)=>n.plugin[e]?r.then((()=>n.plugin[e](t,n.options))):r),Promise.resolve())},207:function(e,t,r){"use strict";var n=r(6540),o={stream:!0},i=new Map,a=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(e,t,r){this._status=e,this._value=t,this._response=r}function f(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var n=(t=e._value).chunks,o=0;o<n.length;o++){var a=i.get(n[o]);if(null!==a)throw a}return n=r(t.id),t="*"===t.name?n:""===t.name?n.__esModule?n.default:n:n[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function p(){return f(m(this,0))}function h(e,t){return new l(3,t,e)}function d(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function y(e,t){if(0===e._status){var r=e._value;e._status=4,e._value=t,d(r)}}function v(e,t){e._chunks.forEach((function(e){y(e,t)}))}function m(e,t){var r=e._chunks,n=r.get(t);return n||(n=new l(0,null,e),r.set(t,n)),n}function g(e){v(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],a=t.indexOf(":",1),s=parseInt(t.substring(1,a),16);switch(a=t.substring(a+1),o){case"J":(o=(t=e._chunks).get(s))?0===o._status&&(e=o._value,o._status=1,o._value=a,d(e)):t.set(s,new l(1,a,e));break;case"M":o=(t=e._chunks).get(s),a=JSON.parse(a,e._fromJSON);var f=e._bundlerConfig;f=(a=f?f[a.id][a.name]:a).chunks;for(var p=0;p<f.length;p++){var v=f[p];if(void 0===i.get(v)){var m=r.e(v),g=i.set.bind(i,v,null),b=i.set.bind(i,v);m.then(g,b),i.set(v,m)}}o?0===o._status&&(e=o._value,o._status=2,o._value=a,d(e)):t.set(s,new l(2,a,e));break;case"P":e._chunks.set(s,h(e,function(e){return u[e]||(u[e]=n.createServerContext(e,c)),u[e]}(a).Provider));break;case"S":o=JSON.parse(a),e._chunks.set(s,h(e,Symbol.for(o)));break;case"E":t=JSON.parse(a),(o=Error(t.message)).stack=t.stack,(a=(t=e._chunks).get(s))?y(a,o):t.set(s,new l(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(e){return function(t,r){return"string"==typeof r?function(e,t,r){switch(r[0]){case"$":return"$"===r?a:"$"===r[1]||"@"===r[1]?r.substring(1):f(e=m(e,parseInt(r.substring(1),16)));case"@":return e=m(e,parseInt(r.substring(1),16)),{$$typeof:s,_payload:e,_init:f}}return r}(e,0,r):"object"==typeof r&&null!==r?r[0]===a?{$$typeof:a,type:r[1],key:r[2],ref:null,props:r[3],_owner:null}:r:r}}function E(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:p,_partialRow:"",_stringDecoder:t})._fromJSON=w(e),e}function _(e,t){function r(t){v(e,t)}var n=t.getReader();n.read().then((function t(i){var a=i.value;if(!i.done){i=a,a=e._stringDecoder;for(var s=i.indexOf(10);-1<s;){var c=e._partialRow,u=i.subarray(0,s);u=a.decode(u),b(e,c+u),e._partialRow="",s=(i=i.subarray(s+1)).indexOf(10)}return e._partialRow+=a.decode(i,o),n.read().then(t,r)}g(e)}),r)}l.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return _(t=E(t&&t.moduleMap?t.moduleMap:null),e),t}},311:function(e){"use strict";e.exports=function(e,t,r,n,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[r,n,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},626:function(e,t,r){"use strict";r.r(t);var n=r(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"
2in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,n.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,n.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,n.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,n.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,n.N)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},650:function(e,t,r){"use strict";r.r(t),r.d(t,{wrapRootElement:function(){return Vo}});var n=r(6540),o=r(4945),i=r.n(o),a=function(e,t){return a=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])},a(e,t)};function s(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}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var c=function(){return c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)};function u(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 o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function l(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{c(n.next(e))}catch(t){i(t)}}function s(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}c((n=n.apply(e,t||[])).next())}))}function f(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(c){s=[6,c],n=0}finally{r=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,c])}}}Object.create;function p(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var h="Invariant Violation",d=Object.setPrototypeOf,y=void 0===d?function(e,t){return e.__proto__=t,e}:d,v=function(e){function t(r){void 0===r&&(r=h);var n=e.call(this,"number"==typeof r?h+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=h,y(n,t.prototype),n}return s(t,e),t}(Error);function m(e,t){if(!e)throw new v(t)}
2var g=["debug","log","warn","error","silent"],b=g.indexOf("log");function w(e){return function(){if(g.indexOf(e)>=b)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=w("debug"),e.log=w("log"),e.warn=w("warn"),e.error=w("error")}(m||(m={}));var E="3.8.7";function _(e){try{return e()}catch(d){}}var O=_((function(){return globalThis}))||_((function(){return window}))||_((function(){return self}))||_((function(){return global}))||_((function(){return _.constructor("return this")()})),S=new Map;function k(e){var t=S.get(e)||1;return S.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function T(e,t){void 0===t&&(t=0);var r=k("stringifyForDisplay");return JSON.stringify(e,(function(e,t){return void 0===t?r:t}),t).split(JSON.stringify(r)).join("<undefined>")}function R(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var o=t;(t=j(o))||(t=I(o,r),r=[])}e.apply(void 0,[t].concat(r))}}var x=Object.assign((function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||m(e,j(t,r)||I(t,r))}),{debug:R(m.debug),log:R(m.log),warn:R(m.warn),error:R(m.error)});function D(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new v(j(e,t)||I(e,t))}var P=Symbol.for("ApolloErrorMessageHandler_"+E);function C(e){return"string"==typeof e?e:T(e,2).slice(0,1e3)}function j(e,t){if(void 0===t&&(t=[]),e)return O[P]&&O[P](e,t.map(C))}function I(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:E,message:e,args:t.map(C)})))}globalThis.__DEV__;const N=()=>Object.create(null),{forEach:A,slice:F}=Array.prototype,{hasOwnProperty:q}=Object.prototype;class M{constructor(e=!0,t=N){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return A.call(e,(e=>t=t.getChildTrie(e))),q.call(t,"data")?t.data:t.data=this.makeData(F.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){const n=this.weakness&&L(e[r])?t.weak:t.strong;t=n&&n.get(e[r])}return t&&t.data}getChildTrie(e){const t=this.weakness&&L(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map);let r=t.get(e);return r||t.set(e,r=new M(this.weakness,this.makeData)),r}}function L(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}function Q(){}class V{constructor(e=1/0,t=Q){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}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)}}let U=null;const B={};let W=1;function $(e){try{return e()}catch(t){}}const z="@wry/context:Slot",H=$((()=>globalThis))||$((()=>global))||Object.create(null),J=H[z]||Array[z]||function(e){try{Object.defineProperty(H,z,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",W++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=U;e;e=e.parent)if(this.id in e.slots){const t=e.slots[this.id];if(t===B)break;return e!==U&&(U.slots[this.id]=t),!0}return U&&(U.slots[this.id]=B),!1}getValue(){if(this.hasValue())return U.slots[this.id]}withValue(e,t,r,n){const o={__proto__:null,[this.id]:e},i=U;U={parent:i,slots:o};try{return t.apply(n,r)}finally{U=i}}static bind(e){const t=U;return function(){const r=U;try{return U=t,e.apply(this,arguments)}finally{U=r}}}static noContext(e,t,r){if(!U)return e.apply(r,t);{const n=U;try{return U=null,e.apply(r,t)}finally{U=n}}}}),{bind:G,noContext:K}=J;const Y=new J;const{hasOwnProperty:X}=Object.prototype,Z=Array.from||function(e){const t=[];return e.forEach((e=>t.push(e))),t};function ee(e){const{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}const te=[];function re(e,t){if(!e)throw new Error(t||"assertion failure")}function ne(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class oe{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,++oe.count}peek(){if(1===this.value.length&&!se(this))return ie(this),this.value[0]}recompute(e){return re(!this.recomputing,"already recomputing"),ie(this),se(this)?function(e,t){de(e),Y.withValue(e,ae,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{ee(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(r){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,se(e))return;ue(e)}(e);return ne(e.value)}(this,e):ne(this.value)}setDirty(){this.dirty||(this.dirty=!0,this.value.length=0,ce(this),ee(this))}dispose(){this.setDirty(),de(this),le(this,((e,t)=>{e.setDirty(),ye(e,this)}))}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=te.pop()||new Set),this.deps.add(e)}
2forgetDeps(){this.deps&&(Z(this.deps).forEach((e=>e.delete(this))),this.deps.clear(),te.push(this.deps),this.deps=null)}}function ie(e){const t=Y.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),se(e)?fe(t,e):pe(t,e),t}function ae(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(r){e.value[1]=r}e.recomputing=!1}function se(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function ce(e){le(e,fe)}function ue(e){le(e,pe)}function le(e,t){const r=e.parents.size;if(r){const n=Z(e.parents);for(let o=0;o<r;++o)t(n[o],e)}}function fe(e,t){re(e.childValues.has(t)),re(se(t));const r=!se(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=te.pop()||new Set;e.dirtyChildren.add(t),r&&ce(e)}function pe(e,t){re(e.childValues.has(t)),re(!se(t));const r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):function(e,t){const r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}(r,t.value)||e.setDirty(),he(e,t),se(e)||ue(e)}function he(e,t){const r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(te.length<100&&te.push(r),e.dirtyChildren=null))}function de(e){e.childValues.size>0&&e.childValues.forEach(((t,r)=>{ye(e,r)})),e.forgetDeps(),re(null===e.dirtyChildren)}function ye(e,t){t.parents.delete(e),e.childValues.delete(t),he(e,t)}oe.count=0;const ve={setDirty:!0,dispose:!0,forget:!0};function me(e){const t=new Map,r=e&&e.subscribe;function n(e){const n=Y.getValue();if(n){let o=t.get(e);o||t.set(e,o=new Set),n.dependOn(o),"function"==typeof r&&(ee(o),o.unsubscribe=r(e))}}return n.dirty=function(e,r){const n=t.get(e);if(n){const o=r&&X.call(ve,r)?r:"setDirty";
2Z(n).forEach((e=>e[o]())),t.delete(e),ee(n)}},n}let ge;function be(...e){return(ge||(ge=new M("function"==typeof WeakMap))).lookupArray(e)}const we=new Set;function Ee(e,{max:t=Math.pow(2,16),makeCacheKey:r=be,keyArgs:n,subscribe:o}=Object.create(null)){const i=new V(t,(e=>e.dispose())),a=function(){const t=r.apply(null,n?n.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=i.get(t);a||(i.set(t,a=new oe(e)),a.subscribe=o,a.forget=()=>i.delete(t));const s=a.recompute(Array.prototype.slice.call(arguments));return i.set(t,a),we.add(i),Y.hasValue()||(we.forEach((e=>e.clean())),we.clear()),s};function s(e){const t=i.get(e);t&&t.setDirty()}function c(e){const t=i.get(e);if(t)return t.peek()}function u(e){return i.delete(e)}return Object.defineProperty(a,"size",{get(){return i.map.size},configurable:!1,enumerable:!1}),Object.freeze(a.options={max:t,makeCacheKey:r,keyArgs:n,subscribe:o}),a.dirtyKey=s,a.dirty=function(){s(r.apply(null,arguments))},a.peekKey=c,a.peek=function(){return c(r.apply(null,arguments))},a.forgetKey=u,a.forget=function(){return u(r.apply(null,arguments))},a.makeCacheKey=r,a.getKey=n?function(){return r.apply(null,n.apply(null,arguments))}:r,Object.freeze(a)}const{toString:_e,hasOwnProperty:Oe}=Object.prototype,Se=Function.prototype.toString,ke=new Map;function Te(e,t){try{return xe(e,t)}finally{ke.clear()}}var Re=Te;function xe(e,t){if(e===t)return!0;const r=_e.call(e);if(r!==_e.call(t))return!1;switch(r){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":{if(je(e,t))return!0;const r=De(e),n=De(t),o=r.length;if(o!==n.length)return!1;for(let e=0;e<o;++e)if(!Oe.call(t,r[e]))return!1;for(let i=0;i<o;++i){const n=r[i];if(!xe(e[n],t[n]))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(je(e,t))return!0;const n=e.entries(),o="[object Map]"===r;for(;;){const e=n.next();if(e.done)break;const[r,i]=e.value;if(!t.has(r))return!1;if(o&&!xe(i,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=Se.call(e);return r===Se.call(t)&&!function(e,t){const r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(r,Ce)}}return!1}function De(e){return Object.keys(e).filter(Pe,e)}function Pe(e){return void 0!==this[e]}const Ce="{ [native code] }";function je(e,t){let r=ke.get(e);if(r){if(r.has(t))return!0}else ke.set(e,r=new Set);return r.add(t),!1}function Ie(e,t){var r=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw D(70,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&n.push(e)})),void 0===r&&(x(1===n.length,71,n.length),r=n[0].name.value),c(c({},e),{definitions:p([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function Ne(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function Ae(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return x(n,72,r),n||null;default:return null}}var Fe=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=Ee(Ie)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction((function(){return t=e.update(r)}),n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(c(c({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read(c(c({},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,n=u(e,["i
2d","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,o=e.fragmentName,i=u(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(n,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),o=t(n);return null==o?n:(r.writeQuery(c(c({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),o=t(n);return null==o?n:(r.writeFragment(c(c({},e),{data:o})),o)}})},e}(),qe=function(e){function t(r,n,o,i){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return s(t,e),t}(Error),Me="function"==typeof WeakMap&&"ReactNative"!==_((function(){return navigator.product})),Le="function"==typeof WeakSet,Qe="function"==typeof Symbol&&"function"==typeof Symbol.for,Ve=Qe&&Symbol.asyncIterator;_((function(){return window.document.createElement})),_((function(){return navigator.userAgent.indexOf("jsdom")>=0}));function Ue(e){return null!==e&&"object"==typeof e}function Be(e){return{__ref:String(e)}}function We(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function $e(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return $e(o,e.name,e.value,n)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var i=(n||{})[r.name.value];e[t.value]=i}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return $e(r,t,e,n),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw D(81,t.value,r.kind);e[t.value]=null}}var ze=["connection","include","skip","client","rest","export","nonreactive"],He=Object.assign((function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var o={};return n.forEach((function(e){o[e]=t[e]})),"".concat(r.connection.key,"(").concat(Je(o),")")}return r.connection.key}var i=e;if(t){var a=Je(t);i+="(".concat(a,")")}return r&&Object.keys(r).forEach((function(e){-1===ze.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?i+="@".concat(e,"(").concat(Je(r[e]),")"):i+="@".concat(e))})),i}),{setStringify:function(e){var t=Je;return Je=e,t}}),Je=function(e){return JSON.stringify(e,Ge)};function Ge(e,t){return Ue(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce((function(e,r){return e[r]=t[r],e}),{})),t}function Ke(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,o=e.value;return $e(r,n,o,t)})),r}return null}function Ye(e){return e.alias?e.alias.value:e.name.value}function Xe(e,t,r){for(var n,o=0,i=t.selections;o<i.length;o++){if(Ze(c=i[o])){if("__typename"===c.name.value)return e[Ye(c)]}else n?n.push(c):n=[c]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var a=0,s=n;a<s.length;a++){var c,u=Xe(e,Ae(c=s[a],r).selectionSet,r);if("string"==typeof u)return u}}function Ze(e){return"Field"===e.kind}function et(e){x(e&&"Document"===e.kind,73);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw D(74,e.kind);return e}));return x(t.length<=1,75,t.length),e}function tt(e){return et(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function rt(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&!!e.name})).map((function(e){return e.name.value}))[0]||null}function nt(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function ot(e){var t=tt(e);return x(t&&"query"===t.operation,76),t}function it(e){var t;et(e);for(var r=0,n=e.definitions;r<n.length;r++){var o=n[r];if("OperationDefinition"===o.kind){var i=o.operation;if("query"===i||"mutation"===i||"subscription"===i)return o}"FragmentDefinition"!==o.kind||t||(t=o)}if(t)return t;throw D(80)}function at(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach((function(e){e.defaultValue&&$e(t,e.variable.name,e.defaultValue)})),t}function st(e){return e}var ct,ut=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=Le?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),!1!==t.cache&&(this.stableCacheKeys=new M(Me,(function(e){return{key:e}})))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(st,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),new e((function(e){return(t(e)?r:n).transformDocument(e)}),{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;et(e);var r=this.transform(e);return this.resultCache.add(r),t&&(t.value=r),r},e.prototype.concat=function(t){var r=this;return new e((function(e){return t.transformDocument(r.transformDocument(e))}
2),{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);return t?(x(Array.isArray(t),65),this.stableCacheKeys.lookupArray(t)):void 0}},e}();function lt(e,t){if(!Boolean(e))throw new Error(t)}!function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension"}(ct||(ct={}));function ft(e,t){switch(typeof e){case"string":return JSON.stringify(e);case"function":return e.name?`[function ${e.name}]`:"[function]";case"object":return function(e,t){if(null===e)return"null";if(t.includes(e))return"[Circular]";const r=[...t,e];if(function(e){return"function"==typeof e.toJSON}(e)){const t=e.toJSON();if(t!==e)return"string"==typeof t?t:ft(t,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";const r=Math.min(10,e.length),n=e.length-r,o=[];for(let i=0;i<r;++i)o.push(ft(e[i],t));1===n?o.push("... 1 more item"):n>1&&o.push(`... ${n} more items`);return"["+o.join(", ")+"]"}(e,r);return function(e,t){const r=Object.entries(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){const t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){const t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(e)+"]";const n=r.map((([e,r])=>e+": "+ft(r,t)));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}Symbol.toStringTag;Symbol.toStringTag;const pt={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"]},ht=new Set(Object.keys(pt));function dt(e){const t=null==e?void 0:e.kind;return"string"==typeof t&&ht.has(t)}var yt;!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(yt||(yt={}));const vt=Object.freeze({});function mt(e,t,r=pt){const n=new Map;for(const g of Object.values(ct))n.set(g,gt(t,g));let o,i,a,s=Array.isArray(e),c=[e],u=-1,l=[],f=e;const p=[],h=[];do{u++;const e=u===c.length,g=e&&0!==l.length;if(e){if(i=0===h.length?void 0:p[p.length-1],f=a,a=h.pop(),g)if(s){f=f.slice();let e=0;for(const[t,r]of l){const n=t-e;null===r?(f.splice(n,1),e++):f[n]=r}}else{f=Object.defineProperties({},Object.getOwnPropertyDescriptors(f));for(const[e,t]of l)f[e]=t}u=o.index,c=o.keys,l=o.edits,s=o.inArray,o=o.prev}else if(a){if(i=s?u:c[u],f=a[i],null==f)continue;p.push(i)}let b;if(!Array.isArray(f)){var d,y;dt(f)||lt(!1,`Invalid AST Node: ${m=f,ft(m,[])}.`);const r=e?null===(d=n.get(f.kind))||void 0===d?void 0:d.leave:null===(y=n.get(f.kind))||void 0===y?void 0:y.enter;if(b=null==r?void 0:r.call(t,f,i,a,p,h),b===vt)break;if(!1===b){if(!e){p.pop();continue}}else if(void 0!==b&&(l.push([i,b]),!e)){if(!dt(b)){p.pop();continue}f=b}}var v;if(void 0===b&&g&&l.push([i,f]),e)p.pop();else o={inArray:s,index:u,keys:c,edits:l,prev:o}
2,s=Array.isArray(f),c=s?f:null!==(v=r[f.kind])&&void 0!==v?v:[],u=-1,l=[],a&&h.push(a),a=f}while(void 0!==o);var m;return 0!==l.length?l[l.length-1][1]:e}function gt(e,t){const r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}var bt=Array.isArray;function wt(e){return Array.isArray(e)&&e.length>0}var Et={kind:ct.FIELD,name:{kind:ct.NAME,value:"__typename"}};function _t(e,t){return!e||e.selectionSet.selections.every((function(e){return e.kind===ct.FRAGMENT_SPREAD&&_t(t[e.name.value],t)}))}function Ot(e){return _t(tt(e)||function(e){x("Document"===e.kind,77),x(e.definitions.length<=1,78);var t=e.definitions[0];return x("FragmentDefinition"===t.kind,79),t}(e),Ne(nt(e)))?null:e}function St(e){var t=new Map,r=new Map;return e.forEach((function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))})),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach((function(t,r){r(e)&&(n=t)})),n}}function kt(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 Tt(e,t){et(t);for(var r=kt(""),n=kt(""),o=function(e){for(var t=0,o=void 0;t<e.length&&(o=e[t]);++t)if(!bt(o)){if(o.kind===ct.OPERATION_DEFINITION)return r(o.name&&o.name.value);if(o.kind===ct.FRAGMENT_DEFINITION)return n(o.name.value)}return!1!==globalThis.__DEV__&&x.error(82),null},i=0,a=t.definitions.length-1;a>=0;--a)t.definitions[a].kind===ct.OPERATION_DEFINITION&&++i;var s=St(e),u=function(e){return wt(e)&&e.map(s).some((function(e){return e&&e.remove}))},l=new Map,f=!1,p={enter:function(e){if(u(e.directives))return f=!0,null}},h=mt(t,{Field:p,InlineFragment:p,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var a=o(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(u(e.directives))return f=!0,null;var a=o(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){l.set(JSON.stringify(n),e)},leave:function(e,t,r,o){return e===l.get(JSON.stringify(o))?e:i>0&&e.selectionSet.selections.every((function(e){return e.kind===ct.FIELD&&"__typename"===e.name.value}))?(n(e.name.value).removed=!0,f=!0,null):void 0}},Directive:{leave:function(e){if(s(e))return f=!0,null}}});if(!f)return t;var d=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach((function(t){d(n(t)).transitiveVars.forEach((function(t){e.transitiveVars.add(t)}))}))),e},y=new Set;h.definitions.forEach((function(e){e.kind===ct.OPERATION_DEFINITION?d(r(e.name&&e.name.value)).fragmentSpreads.forEach((function(e){y.add(e)})):e.kind!==ct.FRAGMENT_DEFINITION||0!==i||n(e.name.value).removed||y.add(e.name.value)})),y.forEach((function(e){d(n(e)).fragmentSpreads.forEach((function(e){y.add(e)}))}));var v={enter:function(e){if(t=e.name.value,!y.has(t)||n(t).removed)return null;var t}};return Ot(mt(h,{FragmentSpread:v,FragmentDefinition:v,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=d(r(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return c(c({},e),{variableDefinitions:e.variableDefinitions.filter((function(e){return t.has(e.variable.name.value)}))})}}}}))}var Rt=Object.assign((function(e){return mt(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==ct.OPERATION_DEFINITION){var n=e.selections;if(n)if(!n.some((function(e){return Ze(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var o=r;if(!(Ze(o)&&o.directives&&o.directives.some((function(e){return"export"===e.name.value}))))return c(c({},e),{selections:p(p([],n,!0),[Et],!1)})}}}}})}),{added:function(e){return e===Et}});function xt(e){return"query"===it(e).operation?e:mt(e,{OperationDefinition:{enter:function(e){return c(c({},e),{operation:"query"})}}})}function Dt(e){return et(e),Tt([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function Pt(){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}var Ct=Object.prototype.hasOwnProperty;function jt(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return It(e)}function It(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new At,o=1;o<r;++o)t=n.merge(t,e[o]);return t}
2var Nt=function(e,t,r){return this.merge(e[r],t[r])},At=function(){function e(e){void 0===e&&(e=Nt),this.reconciler=e,this.isObject=Ue,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];return Ue(t)&&Ue(e)?(Object.keys(t).forEach((function(o){if(Ct.call(e,o)){var i=e[o];if(t[o]!==i){var a=r.reconciler.apply(r,p([e,t,o],n,!1));a!==i&&((e=r.shallowCopyForMerge(e))[o]=a)}}else(e=r.shallowCopyForMerge(e))[o]=t[o]})),e):t},e.prototype.shallowCopyForMerge=function(e){return Ue(e)&&(this.pastCopies.has(e)||(e=Array.isArray(e)?e.slice(0):c({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e))),e},e}();function Ft(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,n=e.name.value;x(r&&1===r.length,67,n);var o=r[0];x(o.name&&"if"===o.name.value,68,n);var i=o.value;x(i&&("Variable"===i.kind||"BooleanValue"===i.kind),69,n),t.push({directive:e,ifArgument:o})}}));return t}(r).every((function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t&&t[n.value.name.value],x(void 0!==o,66,r.name.value)):o=n.value.value,"skip"===r.name.value?!o:o}))}function qt(e,t,r){var n=new Set(e),o=n.size;return mt(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return vt}}),r?!n.size:n.size<o}function Mt(e){return e&&qt(["client","export"],e,!0)}function Lt(e){var t=new Set([e]);return t.forEach((function(e){Ue(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(t){if(t instanceof TypeError)return null;throw t}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach((function(r){Ue(e[r])&&t.add(e[r])}))})),e}function Qt(e){return!1!==globalThis.__DEV__&&Lt(e),e}var Vt=Object.prototype.hasOwnProperty;function Ut(e){return null==e}function Bt(e,t){var r=e.__typename,n=e.id,o=e._id;if("string"==typeof r&&(t&&(t.keyObject=Ut(n)?Ut(o)?void 0:{_id:o}:{id:n}),Ut(n)&&!Ut(o)&&(n=o),!Ut(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var Wt={dataIdFromObject:Bt,addTypename:!0,resultCaching:!0,canonizeResults:!1};function $t(e){var t=e.canonizeResults;return void 0===t?Wt.canonizeResults:t}var zt=/^[_a-z][_0-9a-z]*/i;function Ht(e){var t=e.match(zt);return t?t[0]:e}function Jt(e,t,r){return!!Ue(t)&&(bt(t)?t.every((function(t){return Jt(e,t,r)})):e.selections.every((function(e){if(Ze(e)&&Ft(e,r)){var n=Ye(e);return Vt.call(t,n)&&(!e.selectionSet||Jt(e.selectionSet,t[n],r))}return!0})))}function Gt(e){return Ue(e)&&!We(e)&&!bt(e)}function Kt(e,t){var r=Ne(nt(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var Yt=Object.create(null),Xt=function(){return Yt},Zt=Object.create(null),er=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 Qt(We(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return We(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return Be(e);if(We(e))return e;var n=r.policies.identify(e)[0];if(n){var o=Be(n);return t&&r.merge(n,e),o}}}return e.prototype.toObject=function(){return c({},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),Vt.call(this.data,e)){var r=this.data[e];if(r&&Vt.call(r,t))return r[t]}return"__typename"===t&&Vt.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof or?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),Vt.call(this.data,e)?this.data[e]:this instanceof or?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;We(e)&&(e=e.__ref),We(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,i="string"==typeof t?this.lookup(r=t):t;if(i){x("string"==typeof r,1);var a=new At(ar).merge(o,i);if(this.data[r]=a,a!==o&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);
2o||(s.__exists=1),Object.keys(i).forEach((function(e){if(!o||o[e]!==a[e]){s[e]=1;var t=Ht(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof or||delete a[e]}})),!s.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==a.__typename||delete s.__typename,Object.keys(s).forEach((function(e){return n.group.dirty(r,e)}))}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var o=Object.create(null),i=!1,a=!0,s={DELETE:Yt,INVALIDATE:Zt,isReference:We,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||Be(e)}:t,{store:r})}};if(Object.keys(n).forEach((function(u){var l=Ht(u),f=n[u];if(void 0!==f){var p="function"==typeof t?t:t[u]||t[l];if(p){var h=p===Xt?Yt:p(Qt(f),c(c({},s),{fieldName:l,storeFieldName:u,storage:r.getStorage(e,u)}));if(h===Zt)r.group.dirty(e,u);else if(h===Yt&&(h=void 0),h!==f&&(o[u]=h,i=!0,f=h,!1!==globalThis.__DEV__)){var d=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&x.warn(2,e),!0};if(We(h))d(h);else if(Array.isArray(h))for(var y=!1,v=void 0,m=0,g=h;m<g.length;m++){var b=g[m];if(We(b)){if(y=!0,d(b))break}else if("object"==typeof b&&b)r.policies.identify(b)[0]&&(v=b);if(y&&void 0!==v){!1!==globalThis.__DEV__&&x.warn(3,v);break}}}}void 0!==f&&(a=!1)}})),i)return this.merge(e,o),a&&(this instanceof or?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,o=this.lookup(e);if(o){var i=this.getFieldValue(o,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:i,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=Xt,n):Xt)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(Vt.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof or&&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){Vt.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&&Vt.call(e,r)||t.delete(r)})),e){var r=e.__META,n=u(e,["__META"]);Object.keys(n).forEach((function(e){t.merge(e,n[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 or?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){Vt.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 o=this;o instanceof or;)o=o.parent;n.forEach((function(e){return o.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!Vt.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){We(e)&&(t[e.__ref]=!0),Ue(e)&&Object.keys(e).forEach((function(t){var r=e[t];Ue(r)&&n.add(r)}))}))}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),tr=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?me():null,this.keyMaker=new M(Me)}
2,e.prototype.depend=function(e,t){if(this.d){this.d(rr(e,t));var r=Ht(t);r!==t&&this.d(rr(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(rr(e,t),"__exists"===t?"forget":"setDirty")},e}();function rr(e,t){return t+"#"+e}function nr(e,t){sr(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,o=void 0===n||n,i=t.seed,a=e.call(this,r,new tr(o))||this;return a.stump=new ir(a),a.storageTrie=new M(Me),i&&a.replace(i),a}return s(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}(er||(er={}));var or=function(e){function t(t,r,n,o){var i=e.call(this,r.policies,o)||this;return i.id=t,i.parent=r,i.replay=n,i.group=o,n(i),i}return s(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],o=r.lookup(e);o?n?n!==o&&Object.keys(n).forEach((function(r){Te(n[r],o[r])||t.group.dirty(e,r)})):(t.group.dirty(e,"__exists"),Object.keys(o).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 c(c({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return Vt.call(this.data,t)?c(c({},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}(er),ir=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,(function(){}),new tr(t.group.caching,t.group))||this}return s(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(or);function ar(e,t,r){var n=e[r],o=t[r];return Te(n,o)?n:o}function sr(e){return!!(e instanceof er&&e.group.caching)}var cr,ur,lr=function(){function e(){this.known=new(Le?WeakSet:Set),this.pool=new M(Me),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return Ue(e)&&this.known.has(e)},e.prototype.pass=function(e){if(Ue(e)){var t=function(e){return Ue(e)?bt(e)?e.slice(0):c({__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(Ue(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 o=Object.getPrototypeOf(e),i=[o],a=this.sortedKeys(e);i.push(a.json);var s,c=i.length;if(a.sorted.forEach((function(r){i.push(t.admit(e[r]))})),!(s=this.pool.lookupArray(i)).object){var u=s.object=Object.create(o);this.known.add(u),a.sorted.forEach((function(e,t){u[e]=i[c+t]})),!1!==globalThis.__DEV__&&Object.freeze(u)}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}(),fr=Object.assign((function(e){if(Ue(e)){void 0===cr&&pr();var t=cr.admit(e),r=ur.get(t);return void 0===r&&ur.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)}),{reset:pr});function pr(){cr=new lr,ur=new(Me?WeakMap:Map)}function hr(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var dr=function(){function e(e){var t=this;this.knownResults=new(Me?WeakMap:Map),this.config=Pt(e,{addTypename:!1!==e.addTypename,canonizeResults:$t(e)}),this.canon=e.canon||new lr,this.executeSelectionSet=Ee((function(e){var r,n=e.context.canonizeResults,o=hr(e);o[3]=!n;var i=(r=t.executeSelectionSet).peek.apply(r,o);return i?n?c(c({},i),{result:t.canon.admit(i.result)}):i:(nr(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))}),{max:this.config.resultCacheMaxSize,keyArgs:hr,makeCacheKey:function(e,t,r,n){if(sr(r.store))return r.store.makeCacheKey(e,We(t)?t.__ref:t,r.varStr
2ing,n)}}),this.executeSubSelectedArray=Ee((function(e){return nr(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(sr(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new lr},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,n=e.rootId,o=void 0===n?"ROOT_QUERY":n,i=e.variables,a=e.returnPartialData,s=void 0===a||a,u=e.canonizeResults,l=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;i=c(c({},at(ot(r))),i);var p,h=Be(o),d=this.executeSelectionSet({selectionSet:it(r).selectionSet,objectOrReference:h,enclosingRef:h,context:c({store:t,query:r,policies:f,variables:i,varString:fr(i),canonizeResults:l},Kt(r,this.config.fragments))});if(d.missing&&(p=[new qe(yr(d.missing),d.missing,r,i)],!s))throw p[0];return{result:d.result,complete:!p,missing:p}},e.prototype.isFresh=function(e,t,r,n){if(sr(n.store)&&this.knownResults.get(e)===r){var o=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,o=e.enclosingRef,i=e.context;if(We(n)&&!i.policies.rootTypenamesById[n.__ref]&&!i.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var a,s=i.variables,c=i.policies,u=i.store.getFieldValue(n,"__typename"),l=[],f=new At;function p(e,t){var r;return e.missing&&(a=f.merge(a,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&l.push({__typename:u});var h=new Set(r.selections);h.forEach((function(e){var r,d;if(Ft(e,s))if(Ze(e)){var y=c.readField({fieldName:e.name.value,field:e,variables:i.variables,from:n},i),v=Ye(e);void 0===y?Rt.added(e)||(a=f.merge(a,((r={})[v]="Can't find field '".concat(e.name.value,"' on ").concat(We(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):bt(y)?y=p(t.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:i}),v):e.selectionSet?null!=y&&(y=p(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:We(y)?y:o,context:i}),v)):i.canonizeResults&&(y=t.canon.pass(y)),void 0!==y&&l.push(((d={})[v]=y,d))}else{var m=Ae(e,i.lookupFragment);if(!m&&e.kind===ct.FRAGMENT_SPREAD)throw D(9,e.name.value);m&&c.fragmentMatches(m,u)&&m.selectionSet.selections.forEach(h.add,h)}}));var d={result:It(l),missing:a},y=i.canonizeResults?this.canon.admit(d):Qt(d);return y.result&&this.knownResults.set(y.result,r),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,i=e.enclosingRef,a=e.context,s=new At;function c(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map((function(e,t){return null===e?null:bt(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:i,context:a}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:We(e)?e:i,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach((function(r){Ue(r)&&(x(!We(r),10,function(e,t){return We(t)?e.get(t.__ref,"__typename"):t&&t.__typename}(e,r),t.name.value),Object.values(r).forEach(n.add,n))}))}}(a.store,n,e),e)})),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}();function yr(e){try{JSON.stringify(e,(function(e,t){if("string"==typeof t)throw t;return t}))}catch(t){return t}}var vr=Object.prototype.toString;function mr(e){return gr(e)}function gr(e,t){switch(vr.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]=gr(e,t)})),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach((function(r){n[r]=gr(e[r],t)})),n;default:return e}}var br=new J,wr=new WeakMap;function Er(e){var t=wr.get(e);return t||wr.set(e,t={vars:new Set,dep:me()}),t}
2function _r(e){Er(e).vars.forEach((function(t){return t.forgetCache(e)}))}function Or(e){var t=new Set,r=new Set,n=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach((function(e){Er(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)}));var a=Array.from(r);r.clear(),a.forEach((function(t){return t(e)}))}}else{var s=br.getValue();s&&(o(s),Er(s).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),Er(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var Sr=Object.create(null);function kr(e){var t=JSON.stringify(e);return Sr[t]||(Sr[t]=Object.create(null))}function Tr(e){var t=kr(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=xr(e,(function(e){var o=Cr(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&Vt.call(t,e[0])&&(o=Cr(t,e,Pr)),x(void 0!==o,4,e.join("."),t),o}));return"".concat(r.typename,":").concat(JSON.str
2ingify(o))})}function Rr(e){var t=kr(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,o=r.variables,i=r.fieldName,a=xr(e,(function(e){var r=e[0],i=r.charAt(0);if("@"!==i)if("$"!==i){if(t)return Cr(t,e)}else{var a=r.slice(1);if(o&&Vt.call(o,a)){var s=e.slice(0);return s[0]=a,Cr(o,s)}}else if(n&&wt(n.directives)){var c=r.slice(1),u=n.directives.find((function(e){return e.name.value===c})),l=u&&Ke(u,o);return l&&Cr(l,e.slice(1))}})),s=JSON.stringify(a);return(t||"{}"!==s)&&(i+=":"+s),i})}function xr(e,t){var r=new At;return Dr(e).reduce((function(e,n){var o,i=t(n);if(void 0!==i){for(var a=n.length-1;a>=0;--a)(o={})[n[a]]=i,i=o;e=r.merge(e,i)}return e}),Object.create(null))}function Dr(e){var t=kr(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach((function(t,o){bt(t)?(Dr(t).forEach((function(e){return r.push(n.concat(e))})),n.length=0):(n.push(t),bt(e[o+1])||(r.push(n.slice(0)),n.length=0))}))}return t.paths}function Pr(e,t){return e[t]}function Cr(e,t,r){return r=r||Pr,jr(t.reduce((function e(t,n){return bt(t)?t.map((function(t){return e(t,n)})):t&&r(t,n)}),e))}function jr(e){return Ue(e)?bt(e)?e.map(jr):xr(Object.keys(e).sort(),(function(t){return Cr(e,t)})):e}function Ir(e){return void 0!==e.args?e.args:e.field?Ke(e.field,e.variables):null}He.setStringify(fr);var Nr=function(){},Ar=function(e,t){return t.fieldName},Fr=function(e,t,r){return(0,r.mergeObjects)(e,t)},qr=function(e,t){return t},Mr=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=c({dataIdFromObject:Bt},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,n=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,a=t&&t.storeObject||e,s=c(c({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=Qr(arguments,a);return n.readField(e,{store:n.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l(c(c({},e),a),s);if(!bt(f)){i=f;break}l=Tr(f)}return i=i?String(i):void 0,s.keyObject?[i,s.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var n=e[r],o=n.queryType,i=n.mutationType,a=n.subscriptionType,s=u(n,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),i&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),Vt.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]}))},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?Fr:!1===t?qr:e.merge}a(n,t.merge),n.keyFn=!1===o?Nr:bt(o)?Tr(o):"function"==typeof o?o:n.keyFn,i&&Object.keys(i).forEac
2h((function(t){var n=r.getFieldPolicy(e,t,!0),o=i[t];if("function"==typeof o)n.read=o;else{var s=o.keyArgs,c=o.read,u=o.merge;n.keyFn=!1===s?Ar:bt(s)?Rr(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||Ar)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(x(!n||n===e,5,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(zt);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!Vt.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach((function(r,o){if(r.test(e)){var i=t.supertypeMap.get(o);i&&i.forEach((function(e){return n.add(e)}))}}))),n&&n.size&&n.forEach((function(e){var n=t.getTypePolicy(e),o=n.fields,i=u(n,["fields"]);Object.assign(r,i),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 i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},u=!(!r||!this.fuzzySubtypes.size),l=!1,f=0;f<s.length;++f){var p=s[f];if(p.has(i))return a.has(i)||(l&&!1!==globalThis.__DEV__&&x.warn(6,t,i),a.add(i)),!0;p.forEach(c),u&&f===s.length-1&&Jt(e.selectionSet,r,n)&&(u=!1,l=!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,o=this.getFieldPolicy(r,n,!1),i=o&&o.keyFn;if(i&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=Ir(e);i;){var c=i(s,a);if(!bt(c)){t=c||n;break}i=Rr(c)}return void 0===t&&(t=e.field?function(e,t){var r=null;e.directives&&(r={},e.directives.forEach((function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach((function(n){var o=n.name,i=n.value;return $e(r[e.name.value],o,i,t)}))})));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach((function(e){var r=e.name,o=e.value;return $e(n,r,o,t)}))),He(e.name.value,n,r)}(e.field,e.variables):He(n,Ir(e))),!1===t?n:n===Ht(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 o=this.getStoreFieldName(e),i=Ht(o),a=t.store.getFieldValue(r,o),s=this.getFieldPolicy(e.typename,i,!1),c=s&&s.read;if(c){var u=Lr(this,r,e,t,t.store.getStorage(We(r)?r.__ref:r,o));return br.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),o=n&&n.merge;return!o&&r&&(o=(n=this.getTypePolicy(r))&&n.merge),o},e.prototype.runMergeFunction=function(e,t,r,n,o){var i=r.field,a=r.typename,s=r.merge;return s===Fr?Vr(n.store)(e,t):s===qr?t:(n.overwrite&&(e=void 0),s(e,t,Lr(this,void 0,{typename:a,fieldName:i.name.value,field:i,variables:n.variables},n,o||Object.create(null))))},e}();function Lr(e,t,r,n,o){var i=e.getStoreFieldName(r),a=Ht(i),s=r.variables||n.variables,c=n.store,u=c.toReference,l=c.canRead;return{args:Ir(r),field:r.field||null,fieldName:a,storeFieldName:i,variables:s,isReference:We,toReference:u,storage:o,cache:e.cache,canRead:l,readField:function(){return e.readField(Qr(arguments,t,s),n)},mergeObjects:Vr(n.store)}}function Qr(e,t,r){var n,o=e[0],i=e[1],a=e.length;return"string"==typeof o?n={fieldName:o,from:a>1?i:t}:(n=c({},o),Vt.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&x.warn(7,T(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function Vr(e){return function(t,r){if(bt(t)||bt(r))throw D(8);if(Ue(t)&&Ue(r)){var n=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(n&&o&&n!==o)return r;if(We(t)&&Gt(r))return e.merge(t.__ref,r),t;if(Gt(t)&&We(r))return e.merge(t,r.__ref),r;if(Gt(t)&&Gt(r))return c(c({},t),r)}return r}}function Ur(e,t,r){var n="".concat(t).concat(r),o=e.flavors.get(n);return o||e.flavors.set(n,o=e.clientOnly===t&&e.deferred===r?e:c(c({},e),{clientOnly:t,deferred:r})),o}var Br=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,n=t.query,o=t.result,i=t.dataId,a=t.variables,s=t.overwrite,u=tt(n),l=new At;a=c(c({},at(u)),a);var f=c(c({store:e,written:Object.create(null),merge:function(e,t){return l.merge(e,t)},variables:a,varString:fr(a)},Kt(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:o||Object.create(null),dataId:i,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:f});if(!We(p))throw D(11,o);
2return f.incomingById.forEach((function(t,n){var o=t.storeObject,i=t.mergeTree,a=t.fieldNodeSet,s=Be(n);if(i&&i.map.size){var c=r.applyMerges(i,s,o,f);if(We(c))return;o=c}if(!1!==globalThis.__DEV__&&!f.overwrite){var u=Object.create(null);a.forEach((function(e){e.selectionSet&&(u[e.name.value]=!0)}));Object.keys(o).forEach((function(e){(function(e){return!0===u[Ht(e)]})(e)&&!function(e){var t=i&&i.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},i=o(e);if(!i)return;var a=o(t);if(!a)return;if(We(i))return;if(Te(i,a))return;if(Object.keys(i).every((function(e){return void 0!==n.getFieldValue(a,e)})))return;var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),c=Ht(r),u="".concat(s,".").concat(c);if(Gr.has(u))return;Gr.add(u);var l=[];bt(i)||bt(a)||[i,a].forEach((function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)}));!1!==globalThis.__DEV__&&x.warn(14,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,i,a)}(s,o,e,f.store)}))}e.merge(n,o)})),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,o=e.selectionSet,i=e.context,a=e.mergeTree,s=this.cache.policies,u=Object.create(null),l=r&&s.rootTypenamesById[r]||Xe(n,o,i.fragmentMap)||r&&i.store.get(r,"__typename");"string"==typeof l&&(u.__typename=l);var f=function(){var e=Qr(arguments,u,i.variables);if(We(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var r=s.readField(c(c({},e),{from:t.storeObject}),i);if(void 0!==r)return r}}return s.readField(e,i)},p=new Set;this.flattenFields(o,n,i,l).forEach((function(e,r){var o,i=Ye(r),c=n[i];if(p.add(r),void 0!==c){var h=s.getStoreFieldName({typename:l,fieldName:r.name.value,field:r,variables:e.variables}),d=$r(a,h),y=t.processFieldValue(c,r,r.selectionSet?Ur(e,!1,!1):e,d),v=void 0;r.selectionSet&&(We(y)||Gt(y))&&(v=f("__typename",y));var m=s.getMergeFunction(l,r.name.value,v);m?d.info={field:r,typename:l,merge:m}:Jr(a,h),u=e.merge(u,((o={})[h]=y,o))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||Rt.added(r)||s.getReadFunction(l,r.name.value)||!1!==globalThis.__DEV__&&x.error(12,Ye(r),n)}));try{var h=s.identify(n,{typename:l,selectionSet:o,fragmentMap:i.fragmentMap,storeObject:u,readField:f}),d=h[0],y=h[1];r=r||d,y&&(u=i.merge(u,y))}catch(b){if(!r)throw b}if("string"==typeof r){var v=Be(r),m=i.written[r]||(i.written[r]=[]);if(m.indexOf(o)>=0)return v;if(m.push(o),this.reader&&this.reader.isFresh(n,v,o,i))return v;var g=i.incomingById.get(r);return g?(g.storeObject=i.merge(g.storeObject,u),g.mergeTree=zr(g.mergeTree,a),p.forEach((function(e){return g.fieldNodeSet.add(e)}))):i.incomingById.set(r,{storeObject:u,mergeTree:Hr(a)?void 0:a,fieldNodeSet:p}),v}return u},e.prototype.processFieldValue=function(e,t,r,n){var o=this;return t.selectionSet&&null!==e?bt(e)?e.map((function(e,i){var a=o.processFieldValue(e,t,r,$r(n,i));return Jr(n,i),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?mr(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=Xe(t,e,r.fragmentMap));var o=new Map,i=this.cache.policies,a=new M(!1);return function e(s,c){var u=a.lookup(s,c.clientOnly,c.deferred);u.visited||(u.visited=!0,s.selections.forEach((function(a){if(Ft(a,r.variables)){var s=c.clientOnly,u=c.deferred;if(s&&u||!wt(a.directives)||a.directives.forEach((function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=Ke(e,r.variables);n&&!1===n.if||(u=!0)}})),Ze(a)){var l=o.get(a);l&&(s=s&&l.clientOnly,u=u&&l.deferred),o.set(a,Ur(r,s,u))}else{var f=Ae(a,r.lookupFragment);if(!f&&a.kind===ct.FRAGMENT_SPREAD)throw D(13,a.name.value);f&&i.fragmentMatches(f,n,t,r.variables)&&e(f.selectionSet,Ur(r,s,u))}}})))}(e,r),o},e.prototype.applyMerges=function(e,t,r,n,o){var i,a=this;if(e.map.size&&!We(r)){var s,u=bt(r)||!We(t)&&!Gt(t)?void 0:t,l=r;u&&!o&&(o=[We(u)?u.__ref:u]);var f=function(e,t){return bt(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};
2e.map.forEach((function(e,t){var r=f(u,t),i=f(l,t);if(void 0!==i){o&&o.push(t);var c=a.applyMerges(e,r,i,n,o);c!==i&&(s=s||new Map).set(t,c),o&&x(o.pop()===t)}})),s&&(r=bt(l)?l.slice(0):c({},l),s.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,o&&(i=n.store).getStorage.apply(i,o)):r},e}(),Wr=[];function $r(e,t){var r=e.map;return r.has(t)||r.set(t,Wr.pop()||{map:new Map}),r.get(t)}function zr(e,t){if(e===t||!t||Hr(t))return e;if(!e||Hr(e))return t;var r=e.info&&t.info?c(c({},e.info),t.info):e.info||t.info,n=e.map.size&&t.map.size,o={info:r,map:n?new Map:e.map.size?e.map:t.map};if(n){var i=new Set(t.map.keys());e.map.forEach((function(e,r){o.map.set(r,zr(e,t.map.get(r))),i.delete(r)})),i.forEach((function(r){o.map.set(r,zr(t.map.get(r),e.map.get(r)))}))}return o}function Hr(e){return!e||!(e.info||e.map.size)}function Jr(e,t){var r=e.map,n=r.get(t);n&&Hr(n)&&(Wr.push(n),r.delete(t))}var Gr=new Set;var Kr=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new ut(Rt),r.assumeImmutableResults=!0,r.makeVar=Or,r.txCount=0,r.config=function(e){return Pt(Wt,e)}(t),r.addTypename=!!r.config.addTypename,r.policies=new Mr({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return s(t,e),t.prototype.init=function(){var e=this.data=new er.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 Br(this,this.storeReader=new dr({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:$t(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=Ee((function(e,r){return t.broadcastWatch(e,r)}),{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(sr(r)){var n=e.optimistic,o=e.id,i=e.variables;return r.makeCacheKey(e.query,e.callback,fr({optimistic:n,id:o,variables:i}))}}}),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(c(c({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(n){if(n instanceof qe)return null;throw n}},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(Vt.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(c(c({},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||function(e){Er(e).vars.forEach((function(t){return t.attachCache(e)}))}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&_r(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){fr.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if(We(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(t){!1!==globalThis.__DEV__&&x.warn(t)}},t.prototype.evict=function(e){if(!e.id){if(Vt.call(e,"id"))return!1;e=c(c({},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(),fr.reset(),e&&e.discardWatches?(this.watches.forEac
2h((function(e){return t.maybeBroadcastWatch.forget(e)})),this.watches.clear(),_r(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,n=e.update,o=e.optimistic,i=void 0===o||o,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var o=r,i=o.data,a=o.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=a}},l=new Set;return s&&!this.txCount&&this.broadcastWatches(c(c({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,u):!1===i?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&l.size?(this.broadcastWatches(c(c({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach((function(e){return r.maybeBroadcastWatch.dirty(e)}))):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(r){return t.maybeBroadcastWatch(r,e)}))},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);t&&(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,n,r))||r&&Te(r.result,n.result)||e.callback(e.lastDiff=n,r)},t}(Fe);function Yr(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)return;if("string"==typeof e)return Xr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xr(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Xr(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 Zr(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 en(e,t,r){return t&&Zr(e.prototype,t),r&&Zr(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var tn=function(){return"function"==typeof Symbol},rn=function(e){return tn()&&Boolean(Symbol[e])},nn=function(e){return rn(e)?Symbol[e]:"@@"+e};tn()&&!rn("observable")&&(Symbol.observable=Symbol("observable"));var on=nn("iterator"),an=nn("observable"),sn=nn("species");function cn(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw new TypeError(r+" is not a function");return r}}function un(e){var t=e.constructor;return void 0!==t&&null===(t=t[sn])&&(t=void 0),void 0!==t?t:bn}function ln(e){return e instanceof bn}function fn(e){fn.log?fn.log(e):setTimeout((function(){throw e}))}function pn(e){Promise.resolve().then((function(){try{e()}catch(t){fn(t)}}))}function hn(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=cn(t,"unsubscribe");r&&r.call(t)}}catch(n){fn(n)}}function dn(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function yn(e,t,r){e._state="running";var n=e._observer;try{var o=cn(n,t);switch(t){case"next":o&&o.call(n,r);break;case"error":if(dn(e),!o)throw r;o.call(n,r);break;case"complete":dn(e),o&&o.call(n)}}catch(i){fn(i)}
2"closed"===e._state?hn(e):"running"===e._state&&(e._state="ready")}function vn(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 pn((function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(yn(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)}))):void yn(e,t,r);e._queue.push({type:t,value:r})}}var mn=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new gn(this);try{this._cleanup=t.call(void 0,r)}catch(n){r.error(n)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(dn(this),hn(this))},en(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),gn=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){vn(this._subscription,"next",e)},t.error=function(e){vn(this._subscription,"error",e)},t.complete=function(){vn(this._subscription,"complete")},en(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),bn=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 mn(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise((function(r,n){if("function"==typeof e)var o=t.subscribe({next:function(t){try{e(t,i)}catch(r){n(r),o.unsubscribe()}},error:n,complete:r});else n(new TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}}))},t.map=function(e){var t=this;if("function"!=typeof e)throw new TypeError(e+" is not a function");return new(un(this))((function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(n){return r.error(n)}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(un(this))((function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(n){return r.error(n)}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=un(this),n=arguments.length>1,o=!1,i=arguments[1];return new r((function(r){return t.subscribe({next:function(t){var a=!o;if(o=!0,!a||n)try{i=e(i,t)}catch(s){return r.error(s)}else i=t},error:function(e){r.error(e)},complete:function(){if(!o&&!n)return r.error(new TypeError("Cannot reduce an empty sequence"));r.next(i),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 o=un(this);return new o((function(t){var n,i=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){i===r.length?(n=void 0,t.complete()):e(o.from(r[i++]))}})}(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=un(this);return new r((function(n){var o=[],i=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(s){return n.error(s)}var i=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=o.indexOf(i);e>=0&&o.splice(e,1),a()}});o.push(i)},error:function(e){n.error(e)},complete:function(){a()}});function a(){i.closed&&0===o.length&&n.complete()}return function(){o.forEach((function(e){return e.unsubscribe()})),i.unsubscribe()}}))},t[an]=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 n=cn(t,an);if(n){var o=n.call(t);if(Object(o)!==o)throw new TypeError(o+" is not an object");return ln(o)&&o.constructor===r?o:new r((function(e){return o.subscribe(e)}))}if(rn("iterator")&&(n=cn(t,on)))return new r((function(e){pn((function(){if(!e.closed){for(var r,o=Yr(n.call(t));!(r=o()).done;){var i=r.value;if(e.next(i),e.closed)return}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){pn((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){pn((function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}}))}))},en(e,null,[{key:sn,get:function(){return this}}]),e}();function wn(e,t){return t?t(e):bn.of()}function En(e){return"function"==typeof e?new On(e):e}function _n(e){return e.request.length<=1}tn()&&Object.defineProperty(bn,Symbol("extensions"),{value:{symbol:an,hostReportError:fn},configurable:!0});var On=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return bn.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(En).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var o=En(r),i=En(n||new e(wn));return _n(o)&&_n(i)?new e((function(e){return t(e)?o.request(e)||bn.of():i.request(e)||bn.of()})):new e((function(e,r){return t(e)?o.request(e,r)||bn.of():i.request(e,r)||bn.of()}))},e.execute=function(e,t){return e.request(function(e,t){var r=c({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r=c(c({},r),"function"==typeof e?e(r):e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return c({},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?rt(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 D(43,o)}return e}(t))))||bn.of()},e.concat=function(t,r){var n=En(t);if(_n(n))return!1!==globalThis.__DEV__&&x.warn(35,n),n;var o=En(r);return _n(o)?new e((function(e){return n.request(e,(function(e){return o.request(e)||bn.of()}))||bn.of()})):new e((function(e,t){return n.request(e,(function(e){return o.request(e,t)||bn.of()}))||bn.of()}))},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(wn)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw D(36)},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}(),Sn=function(e,t){var r;try{r=JSON.stringify(e)}catch(o){var n=D(39,t,o.message);throw n.parseError=o,n}return r};function kn(e){var t=null,r=null,n=!1,o=[],i=[];function a(e){if(!r){if(i.length){var t=i.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}
2function s(e){r=e,i.slice().forEach((function(t){t[1](e)})),!t||t()}function c(){n=!0,i.slice().forEach((function(e){e[0]({value:void 0,done:!0})})),!t||t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise((function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):n?e({value:void 0,done:!0}):void i.push([e,t])}))}};return Ve&&(u[Symbol.asyncIterator]=function(){return this}),u}function Tn(e){var t={next:function(){return e.read()}};return Ve&&(t[Symbol.asyncIterator]=function(){return this}),t}function Rn(e){var t,r,n,o=e;if(e.body&&(o=e.body),function(e){return!(!Ve||!e[Symbol.asyncIterator])}(o))return function(e){var t,r=e[Symbol.asyncIterator]();return(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t}(o);if(function(e){return!!e.getReader}(o))return Tn(o.getReader());if(function(e){return!!e.stream}(o))return Tn(o.stream().getReader());if(function(e){return!!e.arrayBuffer}(o))return t=o.arrayBuffer(),r=!1,n={next:function(){return r?Promise.resolve({value:void 0,done:!0}):(r=!0,new Promise((function(e,r){t.then((function(t){e({value:t,done:!1})})).catch(r)})))}},Ve&&(n[Symbol.asyncIterator]=function(){return this}),n;if(function(e){return!!e.pipe}(o))return kn(o);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}var xn=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},Dn=Symbol();var Pn=function(e){function t(r){var n,o,i=r.graphQLErrors,a=r.protocolErrors,s=r.clientErrors,c=r.networkError,u=r.errorMessage,l=r.extraInfo,f=e.call(this,u)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=a||[],f.clientErrors=s||[],f.networkError=c||null,f.message=u||(o=p(p(p([],(n=f).graphQLErrors,!0),n.clientErrors,!0),n.protocolErrors,!0),n.networkError&&o.push(n.networkError),o.map((function(e){return Ue(e)&&e.message||"Error message not found."})).join("\n")),f.extraInfo=l,f.__proto__=t.prototype,f}return s(t,e),t}(Error);function Cn(e){return"incremental"in e}function jn(e){return Ue(e)&&"payload"in e}function In(e,t){var r=e,n=new At;return Cn(t)&&wt(t.incremental)&&t.incremental.forEach((function(e){for(var t=e.data,o=e.path,i=o.length-1;i>=0;--i){var a=o[i],s=!isNaN(+a)?[]:{};s[a]=t,t=s}r=n.merge(r,t)})),r}var Nn=Object.prototype.hasOwnProperty;function An(e){var t={};return e.split("\n").forEach((function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),o=e.slice(r+1).trim();t[n]=o}})),t}function Fn(e,t){if(e.status>=300){xn(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status))}try{return JSON.parse(t)}catch(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function qn(e){return 9===e||32===e}const Mn=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function Ln(e){return Qn[e.charCodeAt(0)]}const Qn=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];const Vn={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>Un(e.definitions,"\n\n")},OperationDefinition:{leave(e){const t=Wn("(",Un(e.variableDefinitions,", "),")"),r=Un([e.operation,Un([e.name,t]),Un(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+Wn(" = ",r)+Wn(" ",Un(n," "))},SelectionSet:{leave:({selections:e})=>Bn(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:o}){const i=Wn("",e,": ")+t;let a=i+Wn("(",Un(r,", "),")");return a.length>80&&(a=i+Wn("(\n",$n(Un(r,"\n")),"\n)")),Un([a,Un(n," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+Wn(" ",Un(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>Un(["...",Wn("on ",e),Un(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:o})=>`fragment ${e}${Wn("(",Un(r,", "),")")} on ${t} ${Wn("",Un(n," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
2,StringValue:{leave:({value:e,block:t})=>t?function(e,t){const r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),o=1===n.length,i=n.length>1&&n.slice(1).every((e=>0===e.length||qn(e.charCodeAt(0)))),a=r.endsWith('\\"""'),s=e.endsWith('"')&&!a,c=e.endsWith("\\"),u=s||c,l=!(null!=t&&t.minimize)&&(!o||e.length>70||u||i||a);let f="";const p=o&&qn(e.charCodeAt(0));return(l&&!p||i)&&(f+="\n"),f+=r,(l||u)&&(f+="\n"),'"""'+f+'"""'}(e):`"${e.replace(Mn,Ln)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+Un(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+Un(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+Wn("(",Un(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>Wn("",e,"\n")+Un(["schema",Un(t," "),Bn(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>Wn("",e,"\n")+Un(["scalar",t,Un(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:o})=>Wn("",e,"\n")+Un(["type",t,Wn("implements ",Un(r," & ")),Un(n," "),Bn(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:o})=>Wn("",e,"\n")+t+(zn(r)?Wn("(\n",$n(Un(r,"\n")),"\n)"):Wn("(",Un(r,", "),")"))+": "+n+Wn(" ",Un(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:o})=>Wn("",e,"\n")+Un([t+": "+r,Wn("= ",n),Un(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:o})=>Wn("",e,"\n")+Un(["interface",t,Wn("implements ",Un(r," & ")),Un(n," "),Bn(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>Wn("",e,"\n")+Un(["union",t,Un(r," "),Wn("= ",Un(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>Wn("",e,"\n")+Un(["enum",t,Un(r," "),Bn(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>Wn("",e,"\n")+Un([t,Un(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>Wn("",e,"\n")+Un(["input",t,Un(r," "),Bn(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:o})=>Wn("",e,"\n")+"directive @"+t+(zn(r)?Wn("(\n",$n(Un(r,"\n")),"\n)"):Wn("(",Un(r,", "),")"))+(n?" repeatable":"")+" on "+Un(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>Un(["extend schema",Un(e," "),Bn(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>Un(["extend scalar",e,Un(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>Un(["extend type",e,Wn("implements ",Un(t," & ")),Un(r," "),Bn(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>Un(["extend interface",e,Wn("implements ",Un(t," & ")),Un(r," "),Bn(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>Un(["extend union",e,Un(t," "),Wn("= ",Un(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>Un(["extend enum",e,Un(t," "),Bn(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>Un(["extend input",e,Un(t," "),Bn(r)]," ")}};function Un(e,t=""){var r;return null!==(r=null==e?void 0:e.filter((e=>e)).join(t))&&void 0!==r?r:""}function Bn(e){return Wn("{\n",$n(Un(e,"\n")),"\n}")}function Wn(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function $n(e){return Wn(" ",e.replace(/\n/g,"\n "))}function zn(e){var t;return null!==(t=null==e?void 0:e.some((e=>e.includes("\n"))))&&void 0!==t&&t}var Hn=Me?new WeakMap:void 0,Jn=function(e){var t;return(t=null==Hn?void 0:Hn.get(e))||(t=function(e){return mt(e,Vn)}(e),null==Hn||Hn.set(e,t)),t},Gn={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Kn=function(e,t){return t(e)};function Yn(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var o={},i={};r.forEach((function(e){o=c(c(c({},o),e.options),{headers:c(c({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),i=c(c({},i),e.http)})),o.headers&&(o.headers=function(e,t){if(!t){var r=Object.create(null);
2return Object.keys(Object(e)).forEach((function(t){r[t.toLowerCase()]=e[t]})),r}var n=Object.create(null);Object.keys(Object(e)).forEach((function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}}));var o=Object.create(null);return Object.keys(n).forEach((function(e){o[n[e].originalName]=n[e].value})),o}(o.headers,i.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,l=e.query,f={operationName:a,variables:u};return i.includeExtensions&&(f.extensions=s),i.includeQuery&&(f.query=t(l,Jn)),{options:o,body:f}}function Xn(e){return new bn((function(t){t.error(e)}))}var Zn=_((function(){return fetch})),eo=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,o=e.print,i=void 0===o?Kn:o,a=e.includeExtensions,s=e.preserveHeaderCase,p=e.useGETForQueries,h=e.includeUnusedVariables,d=void 0!==h&&h,y=u(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&function(e){if(!e&&"undefined"==typeof fetch)throw D(37)}(n||Zn);var v={http:{includeExtensions:a,preserveHeaderCase:s},options:y.fetchOptions,credentials:y.credentials,headers:y.headers};return new On((function(e){var t=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}(e,r),o=e.getContext(),a={};if(o.clientAwareness){var s=o.clientAwareness,u=s.name,h=s.version;u&&(a["apollographql-client-name"]=u),h&&(a["apollographql-client-version"]=h)}var y=c(c({},a),o.headers),m={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:y};if(qt(["client"],e.query)){var g=Dt(e.query);if(!g)return Xn(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=g}var b,w,E,O,S,k=Yn(e,i,Gn,v,m),T=k.options,R=k.body;R.variables&&!d&&(R.variables=(b=R.variables,w=e.query,E=c({},b),O=new Set(Object.keys(b)),mt(w,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&O.delete(e.name.value)}}),O.forEach((function(e){delete E[e]})),E)),T.signal||"undefined"==typeof AbortController||(S=new AbortController,T.signal=S.signal);var D,P="OperationDefinition"===(D=it(e.query)).kind&&"subscription"===D.operation,C=qt(["defer"],e.query);if(p&&!e.query.definitions.some((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(T.method="GET"),C||P){T.headers=T.headers||{};var j="multipart/mixed;";P&&C&&!1!==globalThis.__DEV__&&x.warn(38),P?j+="boundary=graphql;subscriptionSpec=1.0,application/json":C&&(j+="deferSpec=20220824,application/json"),T.headers.accept=j}if("GET"===T.method){var I=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 o=void 0;try{o=Sn(t.variables,"Variables map")}catch(A){return{parseError:A}}n("variables",o)}if(t.extensions){var i=void 0;try{i=Sn(t.extensions,"Extensions map")}catch(A){return{parseError:A}}n("extensions",i)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+r.join("&")+a}}(t,R),N=I.newURI,A=I.parseError;if(A)return Xn(A);t=N}else try{T.body=Sn(R,"Payload")}catch(A){return Xn(A)}return new bn((function(r){var o=n||_((function(){return fetch}))||Zn,i=r.next.bind(r);return o(t,T).then((function(t){var r;e.setContext({response:t});var n,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){var r;return l(this,void 0,void 0,(function(){var n,o,i,a,s,u,l,p,h,d,y,v,m,g,b,w,E,_,O,S,k,T,R;return f(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.");n=new TextDecoder("utf-8"),o=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),i="boundary=",a=(null==o?void 0:o.includes(i))?null==o?void 0:o.substring((null==o?void 0:o.indexOf(i))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",l=Rn(e),p=!0,f.label=1;case 1:return p?[4,l.next()]:[3,3];case 2:for(h=f.sent(),d=h.value,y=h.done,v="string"==typeof d?d:n.decode(d),m=u.length-s.length+1,p=!y,g=(u+=v).indexOf(s,m);g>-1;){if(b=void 0,T=[u.slice(0,g),u.slice(g+s.length)],u=T[1],w=(b=T[0]).indexOf("\r\n\r\n"),E=An(b.slice(0,w)),(_=E["content-type"])&&-1===_.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");
2if(O=b.slice(w))if(S=Fn(e,O),Object.keys(S).length>1||"data"in S||"incremental"in S||"errors"in S||"payload"in S)jn(S)?(k={},"payload"in S&&(k=c({},S.payload)),"errors"in S&&(k=c(c({},k),{extensions:c(c({},"extensions"in k?k.extensions:null),(R={},R[Dn]=S.errors,R))})),t(k)):t(S);else if(1===Object.keys(S).length&&"hasNext"in S&&!S.hasNext)return[2];g=u.indexOf(s)}return[3,1];case 3:return[2]}}))}))}(t,i):(n=e,function(e){return e.text().then((function(t){return Fn(e,t)})).then((function(t){return e.status>=300&&xn(e,t,"Response not successful: Received status code ".concat(e.status)),Array.isArray(t)||Nn.call(t,"data")||Nn.call(t,"errors")||xn(e,t,"Server response was missing for query '".concat(Array.isArray(n)?n.map((function(e){return e.operationName})):n.operationName,"'.")),t}))})(t).then(i)})).then((function(){S=void 0,r.complete()})).catch((function(e){S=void 0,function(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}(e,r)})),function(){S&&S.abort()}}))}))},to=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,eo(t).request)||this;return r.options=t,r}return s(t,e),t}(On),ro=On.execute;function no(e,t,r){return new bn((function(n){var o={then:function(e){return new Promise((function(t){return t(e())}))}};function i(e,t){return function(r){if(e){var i=function(){return n.closed?0:e(r)};o=o.then(i,i).then((function(e){return n.next(e)}),(function(e){return n.error(e)}))}else n[t](r)}}var a={next:i(t,"next"),error:i(r,"error"),complete:function(){o.then((function(){return n.complete()}))}},s=e.subscribe(a);return function(){return s.unsubscribe()}}))}function oo(e){return wt(io(e))}function io(e){var t=wt(e.errors)?e.errors.slice(0):[];return Cn(e)&&wt(e.incremental)&&e.incremental.forEach((function(e){e.errors&&t.push.apply(t,e.errors)})),t}function ao(e,t,r){var n=[];e.forEach((function(e){return e[t]&&n.push(e)})),n.forEach((function(e){return e[t](r)}))}function so(e){function t(t){Object.defineProperty(e,t,{value:bn})}return Qe&&Symbol.species&&t(Symbol.species),t("@@species"),e}function co(e){return e&&"function"==typeof e.then}var uo,lo=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),ao(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),ao(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var o=(void 0===n?[]:n).shift();o?co(o)?o.then((function(e){return r.sub=e.subscribe(r.handlers)})):r.sub=o.subscribe(r.handlers):(t&&setTimeout((function(){return t.unsubscribe()})),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),ao(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch((function(e){})),"function"==typeof t&&(t=[new bn(t)]),co(t)?t.then((function(e){return r.start(e)}),r.handlers.error):r.start(t),r}return s(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}(bn);function fo(e){return!!e&&e<7}function po(e,t,r,n){var o=t.data,i=u(t,["data"]),a=r.data,s=u(r,["data"]);return Re(i,s)&&ho(it(e).selectionSet,o,a,{fragmentMap:Ne(nt(e)),variables:n})}function ho(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;
2if(o.add(e),!Ft(e,n.variables))return!0;if(yo(e))return!0;if(Ze(e)){var i=Ye(e),a=t&&t[i],s=r&&r[i],c=e.selectionSet;if(!c)return Re(a,s);var u=Array.isArray(a),l=Array.isArray(s);if(u!==l)return!1;if(u&&l){var f=a.length;if(s.length!==f)return!1;for(var p=0;p<f;++p)if(!ho(c,a[p],s[p],n))return!1;return!0}return ho(c,a,s,n)}var h=Ae(e,n.fragmentMap);return h?!!yo(h)||ho(h.selectionSet,t,r,n):void 0}))}function yo(e){return!!e.directives&&e.directives.some(vo)}function vo(e){return"nonreactive"===e.name.value}so(lo),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"}(uo||(uo={}));var mo=Object.assign,go=Object.hasOwnProperty,bo=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,o=t.options,i=e.call(this,(function(e){try{var r=e._subscription._observer;r&&!r.error&&(r.error=Eo)}catch(t){}var n=!i.observers.size;i.observers.add(e);var o=i.last;return o&&o.error?e.error&&e.error(o.error):o&&o.result&&e.next&&e.next(o.result),n&&i.reobserve().catch((function(){})),function(){i.observers.delete(e)&&!i.observers.size&&i.tearDownQuery()}}))||this;i.observers=new Set,i.subscriptions=new Set,i.queryInfo=n,i.queryManager=r,i.waitForOwnResult=Oo(o.fetchPolicy),i.isTornDown=!1;var a=r.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,u=void 0===s?"cache-first":s,l=o.fetchPolicy,f=void 0===l?u:l,p=o.initialFetchPolicy,h=void 0===p?"standby"===f?u:f:p;i.options=c(c({},o),{initialFetchPolicy:h,fetchPolicy:f}),i.queryId=n.queryId||r.generateQueryId();var d=tt(i.query);return i.queryName=d&&d.name&&d.name.value,i}return s(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise((function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){o.unsubscribe()}),0)},error:r},o=e.subscribe(n)}))},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||uo.ready,n=c(c({},t),{loading:fo(r),networkStatus:r}),o=this.options.fetchPolicy,i=void 0===o?"cache-first":o;if(Oo(i)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(n.data=a.result),Te(n.data,{})&&(n.data=void 0),a.complete?(delete n.partial,!a.complete||n.networkStatus!==uo.loading||"cache-first"!==i&&"cache-only"!==i||(n.networkStatus=uo.ready,n.loading=!1)):n.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||n.loading||n.data||n.error||_o(a.missing)}return e&&this.updateLastResult(n),n},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||((this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!po(this.query,this.last.result,e,this.variables):!Te(this.last.result,e))||t&&!Te(this.last.variables,t))},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||Te(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},n=this.options.fetchPolicy;if(r.fetchPolicy="cache-and-network"===n?n:"no-cache"===n?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&go.call(e,"variables")){var o=ot(this.query),i=o.variableDefinitions;i&&i.some((function(e){return"variables"===e.variable.name.value}))||!1!==globalThis.__DEV__&&x.warn(20,e,(null===(t=o.name)||void 0===t?void 0:t.value)||o)}return e&&!Te(this.options.variables,e)&&(r.variables=this.options.variables=c(c({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,uo.refetch)},t.prototype.fetchMore=function(e){var t=this,r=c(c({},e.query?e:c(c(c(c({},this.options),{query:this.options.query}),e),{variables:c(c({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var o=this.queryInfo,i=o.networkStatus;o.networkStatus=uo.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var a=new Set;return this.queryManager.fetchQuery(n,r,uo.fetchMore).then((function(s){return t.queryManager.removeQuery(n),o.networkStatus===uo.fetchMore&&(o.networkStatus=i),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:s.data,variables:r.variables})})):n.writeQuery({query:r.query,variables:r.variables,data:s.data})},onWatchUpdated:function(e){a.add(e.query)}}),s})).finally((function(){a.has(t.query)||wo(t)}))},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery((function(e,t){var o=t.variables;return n(e,{subscriptionData:r,variables:o})}))},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&x.error(21,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=Pt(this.options,e||{});mo(this.options,t)},t.prototype.setVariables=function(e){return Te(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},uo.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,o=t.initialFetchPolicy,i=void 0===o?n:o;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:i}):t.fetchPolicy="variables-changed"===e?i:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r){if(!t||t.interval!==r){x(r,22),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&(fo(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},uo.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&&!Te(t,this.last.variables)&&(r=void 0),this.last=c({result:this.queryManager.assumeImmutableResults?e:mr(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var n=t===uo.refetch||t===uo.fetchMore||t===uo.poll,o=this.options.variables,i=this.options.fetchPolicy,a=Pt(this.options,e||{}),s=n?a:mo(this.options,a),u=this.transformDocument(s.query);this.lastQuery=u,n||(this.updatePolling(),e&&e.variables&&!Te(e.variables,o)&&"standby"!==s.fetchPolicy&&s.fetchPolicy===i&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=uo.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=Oo(s.fetchPolicy));
2var l=function(){r.concast===h&&(r.waitForOwnResult=!1)},f=s.variables&&c({},s.variables),p=this.fetch(s,t,u),h=p.concast,d=p.fromLink,y={next:function(e){l(),r.reportResult(e,f)},error:function(e){l(),r.reportError(e,f)}};return n||!d&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=h,this.observer=y),h.addObserver(y),h},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&ao(this.observers,"next",e)},t.prototype.reportError=function(e,t){var r=c(c({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:uo.error,loading:!1});this.updateLastResult(r,t),ao(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}(bn);function wo(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return this.nextFetchPolicy=n,"function"==typeof n?n.apply(this,arguments):r}}):e.reobserve()}function Eo(e){!1!==globalThis.__DEV__&&x.error(23,e.message,e.stack)}function _o(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&x.debug(24,e)}function Oo(e){return"network-only"===e||"no-cache"===e||"standby"===e}function So(e){return e.kind===ct.FIELD||e.kind===ct.FRAGMENT_SPREAD||e.kind===ct.INLINE_FRAGMENT}so(bo);var ko=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=jt(t.resolvers,e)})):this.resolvers=jt(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){var t=e.document,r=e.remoteResult,n=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return l(this,void 0,void 0,(function(){return f(this,(function(e){return t?[2,this.resolveDocument(t,r.data,n,o,this.fragmentMatcher,a).then((function(e){return c(c({},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 qt(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return Dt(e)},e.prototype.prepareContext=function(e){var t=this.cache;return c(c({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),l(this,void 0,void 0,(function(){return f(this,(function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return c(c({},t),e.exportedVariables)}))]:[2,c({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return mt(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return vt}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:xt(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,n,o,i){return void 0===r&&(r={}),void 0===n&&(n={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),l(this,void 0,void 0,(function(){var a,s,u,l,p,h,d,y,v,m;return f(this,(function(f){return a=it(e),s=nt(e),u=Ne(s),l=this.collectSelectionsToResolve(a,u),p=a.operation,h=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",y=(d=this).cache,v=d.client,m={fragmentMap:u,context:c(c({}
2,r),{cache:y,client:v}),variables:n,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,false,t,m).then((function(e){return{result:e,exportedVariables:m.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r,n){return l(this,void 0,void 0,(function(){var o,i,a,s,c,u=this;return f(this,(function(p){return o=n.fragmentMap,i=n.context,a=n.variables,s=[r],c=function(e){return l(u,void 0,void 0,(function(){var c,u;return f(this,(function(l){return(t||n.selectionsToResolve.has(e))&&Ft(e,a)?Ze(e)?[2,this.resolveField(e,t,r,n).then((function(t){var r;void 0!==t&&s.push(((r={})[Ye(e)]=t,r))}))]:(!function(e){return"InlineFragment"===e.kind}(e)?(c=o[e.name.value],x(c,18,e.name.value)):c=e,c&&c.typeCondition&&(u=c.typeCondition.name.value,n.fragmentMatcher(r,u,i))?[2,this.resolveSelectionSet(c.selectionSet,t,r,n).then((function(e){s.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(c)).then((function(){return It(s)}))]}))}))},e.prototype.resolveField=function(e,t,r,n){return l(this,void 0,void 0,(function(){var o,i,a,s,c,u,l,p,h,d=this;return f(this,(function(f){return r?(o=n.variables,i=e.name.value,a=Ye(e),s=i!==a,c=r[a]||r[i],u=Promise.resolve(c),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(l=r.__typename||n.defaultOperationType,(p=this.resolvers&&this.resolvers[l])&&(h=p[s?i:a])&&(u=Promise.resolve(br.withValue(this.cache,h,[r,Ke(e,o),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,u.then((function(r){var o,i;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&&(n.exportedVariables[e.value.value]=r)}))}
2)),!e.selectionSet)return r;if(null==r)return r;var a=null!==(i=null===(o=e.directives)||void 0===o?void 0:o.some((function(e){return"client"===e.name.value})))&&void 0!==i&&i;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0}))]):[2,null]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var o=this;return Promise.all(r.map((function(r){return null===r?null:Array.isArray(r)?o.resolveSubSelectedArray(e,t,r,n):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,r,n):void 0})))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var i=new Set;n.set(o,i),mt(o,{Directive:function(e,t,n,o,a){"client"===e.name.value&&a.forEach((function(e){r(e)&&So(e)&&i.add(e)}))},FragmentSpread:function(n,o,a,s,c){var u=t[n.name.value];x(u,19,n.name.value);var l=e(u);l.size>0&&(c.forEach((function(e){r(e)&&So(e)&&i.add(e)})),i.add(n),l.forEach((function(e){i.add(e)})))}})}return n.get(o)}(e)},e}(),To=new(Me?WeakMap:Map);function Ro(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return To.set(e,(To.get(e)+1)%1e15),r.apply(this,arguments)})}function xo(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Do=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;To.has(r)||(To.set(r,0),Ro(r,"evict"),Ro(r,"modify"),Ro(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||uo.loading;return this.variables&&this.networkStatus!==uo.loading&&!Te(this.variables,e.variables)&&(t=uo.setVariables),Te(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){xo(this),this.dirty=!1},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&Te(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||Te(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():wo(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;xo(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(fo(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=c(c({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
2this.lastWatch&&Te(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===To.get(this.cache)&&Te(t,r.variables)&&Te(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var o=this,i=new At,a=wt(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&wt(e.incremental)){var s=In(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=i.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(Po(e,r.errorPolicy)?this.cache.performTransaction((function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:To.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete)return void(e.data=o.lastDiff.diff.result);var a=o.getDiffOptions(r.variables),s=i.diff(a);!o.stopped&&Te(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=uo.ready},e.prototype.markError=function(e){return this.networkStatus=uo.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Po(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!oo(e);return!n&&r&&e.data&&(n=!0),n}var Co=Object.prototype.hasOwnProperty,jo=function(){function e(e){var t=this,r=e.cache,n=e.link,o=e.defaultOptions,i=e.documentTransform,a=e.queryDeduplication,s=void 0!==a&&a,c=e.onBroadcast,u=e.ssrMode,l=void 0!==u&&u,f=e.clientAwareness,p=void 0===f?{}:f,h=e.localState,d=e.assumeImmutableResults,y=void 0===d?!!r.assumeImmutableResults:d;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(Me?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var v=new ut((function(e){return t.cache.transformDocument(e)}),{cache:!1});this.cache=r,this.link=n,this.defaultOptions=o||Object.create(null),this.queryDeduplication=s,this.clientAwareness=p,this.localState=h||new ko({cache:r}),this.ssrMode=l,this.assumeImmutableResults=y,this.documentTransform=i?v.concat(i).concat(v):v,(this.onBroadcast=c)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach((function(t,r){e.stopQueryNoBroadcast(r)})),this.cancelPendingFetches(D(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,n=e.mutation,o=e.variables,i=e.optimisticResponse,a=e.updateQueries,s=e.refetchQueries,u=void 0===s?[]:s,p=e.awaitRefetchQueries,h=void 0!==p&&p,d=e.update,y=e.onQueryUpdated,v=e.fetchPolicy,m=void 0===v?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":v,g=e.errorPolicy,b=void 0===g?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":g,w=e.keepRootFields,E=e.context;return l(this,void 0,void 0,(function(){var e,t,r,s;return f(this,(function(l){switch(l.label){case 0:return x(n,26),x("network-only"===m||"no-cache"===m,27),e=this.generateMutationId(),n=this.cache.transformForLink(this.transform(n)),t=this.getDocumentInfo(n).hasClientExports,o=this.getVariables(n,o),t?[4,this.localState.addExportedVariables(n,o,E)]:[3,2];case 1:o=l.sent(),l.label=2;case 2:return r=this.mutationStore&&(this.mutationStore[e]={mutation:n,variables:o,loading:!0,error:null}),i&&this.markMutationOptimistic(i,{mutationId:e,document:n,variables:o,fetchPolicy:m,errorPolicy:b,context:E,updateQueries:a,update:d,keepRootFields:w}),this.broadcastQueries(),s=this,[2,new Promise((function(t,l){return no(s.getObservableFromLink(n,c(c({},E),{optimisticResponse:i}),o,!1),(function(t){if(oo(t)&&"none"===b)throw new Pn({graphQLErrors:io(t)});r&&(r.loading=!1,r.error=null);var l=c({},t);return"function"==typeof u&&(u=u(l)),"ignore"===b&&oo(l)&&delete l.errors,s.markMutationResult({mutationId:e,result:l,document:n,variables:o,fetchPolicy:m,errorPolicy:b,context:E,update:d,updateQueries:a,awaitRefetchQueries:h,refetchQueries:u,removeOptimistic:i?e:void 0,onQueryUpdated:y,keepRootFields:w})})).subscribe({next:function(e){s.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){r&&(r.loading=!1,r.error=t),i&&s.cache.removeOptimistic(e),s.broadcastQueries(),l(t instanceof Pn?t:new P
2n({networkError:t}))}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&Po(n,e.errorPolicy)){if(Cn(n)||o.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),Cn(n)&&wt(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=In(a.result,n)),void 0!==s&&(n.data=s,o.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach((function(e,i){var a=e.observableQuery,s=a&&a.queryName;if(s&&Co.call(u,s)){var c=u[s],l=r.queries.get(i),f=l.document,p=l.variables,h=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),d=h.result;if(h.complete&&d){var y=c(d,{mutationResult:n,queryName:f&&rt(f)||void 0,queryVariables:p});y&&o.push({result:y,dataId:"ROOT_QUERY",query:f,variables:p})}}}))}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var l=[];if(this.refetchQueries({updateCache:function(t){i||o.forEach((function(e){return t.write(e)}));var a,s=e.update,u=!(Cn(a=n)||function(e){return"hasNext"in e&&"data"in e}(a))||Cn(n)&&!n.hasNext;if(s){if(!i){var l=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(n=c(c({},n),{data:l.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&s(t,n,{context:e.context,variables:e.variables})}i||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach((function(e){return l.push(e)})),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(l).then((function(){return n}))}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult(c(c({},t),{result:{data:n}}),e)}catch(o){!1!==globalThis.__DEV__&&x.error(o)}}),t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:Mt(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:qt(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:Tt([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:at(tt(e)),asQuery:c(c({},e),{definitions:e.definitions.map((function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?c(c({},e),{operation:"query"}):e}))})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return c(c({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=c(c({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new Do(this),n=new bo({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),x(e.query,28),x("Document"===e.query.kind,29),x(!e.returnPartialData,30),x(!e.pollInterval,31),this.fetchQuery(t,c(c({},e),{query:this.transform(e.query)})).finally((function(){return r.stopQuery(t)}))},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
2),this.cancelPendingFetches(D(32)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=uo.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,o=new Set;return Array.isArray(e)&&e.forEach((function(e){var r;"string"==typeof e?n.set(e,!1):Ue(r=e)&&"Document"===r.kind&&Array.isArray(r.definitions)?n.set(t.transform(e),!1):Ue(e)&&e.query&&o.add(e)})),this.queries.forEach((function(t,o){var i=t.observableQuery,a=t.document;if(i){if("all"===e)return void r.set(o,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&n.has(s)||a&&n.has(a))&&(r.set(o,i),s&&n.set(s,!0),a&&n.set(a,!0))}})),o.size&&o.forEach((function(e){var n=k("legacyOneTimeQuery"),o=t.getQuery(n).init({document:e.query,variables:e.variables}),i=new bo({queryManager:t,queryInfo:o,options:c(c({},e),{fetchPolicy:"network-only"})});x(i.queryId===n),o.setObservableQuery(i),r.set(n,i)})),!1!==globalThis.__DEV__&&n.size&&n.forEach((function(e,t){e||!1!==globalThis.__DEV__&&x.warn("string"==typeof t?33:34,t)})),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach((function(n,o){var i=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&r.push(n.refetch()),t.getQuery(o).setDiff(null)})),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,o=e.errorPolicy,i=void 0===o?"none":o,a=e.variables,s=e.context,c=void 0===s?{}:s;r=this.transform(r),a=this.getVariables(r,a);var u=function(e){return t.getObservableFromLink(r,c,e).map((function(o){"no-cache"!==n&&(Po(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=oo(o),s=function(e){return!!e.extensions&&Array.isArray(e.extensions[Dn])}(o);if(a||s){var c={};if(a&&(c.graphQLErrors=o.errors),s&&(c.protocolErrors=o.extensions[Dn]),"none"===i||s)throw new Pn(c)}return"ignore"===i&&delete o.errors,o}))};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,a,c).then(u);return new bn((function(e){var t=null;return l.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return u(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var o,i,a=this;void 0===n&&(n=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var s=this.getDocumentInfo(e),u=s.serverQuery,l=s.clientQuery;if(u){var f=this.inFlightLinkObservables,p=this.link,h={query:u,variables:r,operationName:rt(u)||void 0,context:this.prepareContext(c(c({},t),{forceFetch:!n}))};if(t=h.context,n){var d=Jn(u),y=f.get(d)||new Map;f.set(d,y);var v=fr(r);if(!(i=y.get(v))){var m=new lo([ro(p,h)]);y.set(v,i=m),m.beforeNext((function(){y.delete(v)&&y.size<1&&f.delete(d)}))}}else i=new lo([ro(p,h)])}else i=new lo([bn.of({data:{}})]),t=this.prepareContext(t);return l&&(i=no(i,(function(e){return a.localState.runResolvers({document:l,remoteResult:e,context:t,variables:r})}))),i},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return no(this.getObservableFromLink(o,r.context,r.variables),(function(i){var a=io(i),s=a.length>0;if(n>
2=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new Pn({graphQLErrors:a}));e.markResult(i,o,r,t),e.markReady()}var c={data:i.data,loading:!1,networkStatus:uo.ready};return s&&"ignore"!==r.errorPolicy&&(c.errors=a,c.networkStatus=uo.error),c}),(function(t){var r=t.hasOwnProperty("graphQLErrors")?t:new Pn({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var o=this;void 0===r&&(r=uo.loading),void 0===n&&(n=t.query);var i,a,s=this.getVariables(n,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,p=t.errorPolicy,h=void 0===p?u&&u.errorPolicy||"none":p,d=t.returnPartialData,y=void 0!==d&&d,v=t.notifyOnNetworkStatusChange,m=void 0!==v&&v,g=t.context,b=void 0===g?{}:g,w=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:h,returnPartialData:y,notifyOnNetworkStatusChange:m,context:b}),E=function(e){w.variables=e;var n=o.fetchQueryByPolicy(c,w,r);return"standby"!==w.fetchPolicy&&n.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),n},_=function(){return o.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,(function(e){_(),setTimeout((function(){return i.cancel(e)}))})),this.getDocumentInfo(w.query).hasClientExports)i=new lo(this.localState.addExportedVariables(w.query,w.variables,w.context).then(E).then((function(e){return e.sources}))),a=!0;else{var O=E(w.variables);a=O.fromLink,i=new lo(O.sources)}return i.promise.then(_,_),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?k("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach((function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})}));var l=new Map;return r&&this.cache.batch({update:r,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof Do&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var o=c(n,t,r);return!0===o&&(o=n.refetch()),!1!==o&&l.set(n,o),o}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach((function(e,r){var n,o=e.oq,i=e.lastDiff,a=e.diff;if(c){if(!a){var s=o.queryInfo;s.reset(),a=s.getDiff()}n=c(o,a,i)}c&&!0!==n||(n=o.refetch()),!1!==n&&l.set(o,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)})),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,o=t.query,i=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,l=t.returnPartialData,f=t.context,p=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:o,variables:i,networkStatus:r});var d=function(){return e.getDiff()},y=function(t,r){void 0===r&&(r=e.networkStatus||uo.loading);var a=t.result;!1===globalThis.__DEV__||l||Te(a,{})||_o(t.missing);var s=function(e){return bn.of(c({data:e,loading:fo(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(o).hasForcedResolvers?n.localState.runResolvers({document:o,remoteResult:{data:a},context:f,variables:i,onlyRunForcedResolvers:!0}).then((function(e){return s(e.data||void 0)})):"none"===u&&r===uo.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},v="no-cache"===a?0:r===uo.refetch&&"merge"!==s?1:2,m=function(){return n.getResultsFromLink(e,v,{query:o,variables:i,context:f,fetchPolicy:a,errorPolicy:u})},g=p&&"number"==typeof h&&h!==r&&fo(r);switch(a){default:case"cache-first":return(b=d()).complete?{fromLink:!1,sources:[y(b,e.markReady())]}:l||g?{fromLink:!0,sources:[y(b),m()]}:{fromLink:!0,sources:[m()]};case"cache-and-network":var b;return(b=d()).complete||l||g?{fromLink:!0,sources:[y(b),m()]}:{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[y(d(),e.markReady())]};case"network-only":return g?{fromLink:!0,sources:[y(d()),m()]}:{fromLink:!0,sources:[m()]};case"no-cache":return g?{fromLink:!0,sources:[y(e.getDiff()),m()]}:{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Do(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return c(c({},t),{clientAwareness:this.clientAwareness})},e}();function Io(e,t){return Pt(e,t,t.variables&&{variables:Pt(c(c({},e&&e.variables),t.variables))})}var No=!1,Ao=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cac
2he)throw D(15);var r=e.uri,n=e.credentials,o=e.headers,i=e.cache,a=e.documentTransform,s=e.ssrMode,c=void 0!==s&&s,u=e.ssrForceFetchDelay,l=void 0===u?0:u,f=e.connectToDevTools,p=void 0===f?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:f,h=e.queryDeduplication,d=void 0===h||h,y=e.defaultOptions,v=e.assumeImmutableResults,m=void 0===v?i.assumeImmutableResults:v,g=e.resolvers,b=e.typeDefs,w=e.fragmentMatcher,_=e.name,O=e.version,S=e.link;S||(S=r?new to({uri:r,credentials:n,headers:o}):On.empty()),this.link=S,this.cache=i,this.disableNetworkFetches=c||l>0,this.queryDeduplication=d,this.defaultOptions=y||Object.create(null),this.typeDefs=b,l&&setTimeout((function(){return t.disableNetworkFetches=!1}),l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=E,this.localState=new ko({cache:i,client:this,resolvers:g,fragmentMatcher:w}),this.queryManager=new jo({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:a,queryDeduplication:d,ssrMode:c,clientAwareness:{name:_,version:O},localState:this.localState,assumeImmutableResults:m,onBroadcast:p?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),p&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}No||!1===globalThis.__DEV__||(No=!0,setTimeout((function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&x.log("Download the Apollo DevTools for a better development experience: %s",r)}}),1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=Io(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=c(c({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=Io(this.defaultOptions.query,e)),x("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=c(c({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=Io(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ro(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__&&x.debug(17,e)})),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},e}(),Fo=Qe?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function qo(){x(!0,45);var e=n.createContext[Fo];return e||(Object.defineProperty(n.createContext,Fo,{value:e=n.createContext({}
2),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}var Mo=function(e){var t=e.client,r=e.children,o=qo(),i=n.useContext(o),a=n.useMemo((function(){return c(c({},i),{client:t||i.client})}),[i,t]);return x(a.client,46),n.createElement(o.Provider,{value:a},r)};const Lo=new Kr,Qo=new Ao({link:new to({uri:{}.GATSBY_SOURCE_WORDPRESS_URL,fetch:i()}),cache:Lo}),Vo=e=>{let{element:t}=e;return n.createElement(Mo,{client:Qo},t)}},700:function(e,t){t.U=()=>""},963:function(e,t,r){"use strict";r.r(t);var n=r(6540),o=r(6814),i=r(6017);t.default=e=>{let{location:t}=e;const r=o.Ay.loadPageSync(t.pathname);return r?n.createElement(i.A,{location:t,pageResources:r,...r.json}):null}},2024:function(e,t,r){"use strict";r.d(t,{Jr:function(){return a},dd:function(){return o},hr:function(){return s},j$:function(){return i}});var n=r(6540);const o=n.createContext({}),i=n.createContext({}),a=n.createContext({}),s=n.createContext({})},2311:function(e,t,r){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;r(5535),r(9300);t.onInitialClientRender=()=>{}},2475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},2549:function(e,t,r){var n;e.exports=(n=r(963))&&n.default||n},2834:function(e){"use strict";var t=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(t,"\\$&")}},3215:function(e,t,r){"use strict";var n=r(4994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=n(r(2475)),i=n(r(6221)),a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,r&&r.set(e,n);return n}(r(6540)),s=n(r(5556)),c=r(4351);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=a.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(t=e.call.apply(e,[this].concat(n))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,r){t.shouldUpdateScroll(r,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,r){var n=document.getElementById(e.substring(1));n&&t.shouldUpdateScroll(r,t.props)&&n.scrollIntoView()},t.shouldUpdateScroll=function(e,r){var n=t.props.shouldUpdateScroll;return!n||n.call((0,o.default)(t),e,r)},t}(0,i.default)(t,e);var r=t.prototype;return r._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},r.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,r=t.key,n=t.hash;r&&(e=this._stateStorage.read(this.props.location,r)),n?this.scrollToHash(decodeURI(n),void 0):e&&this.windowScroll(e,void 0)},r.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},r.componentDidUpdate=function(e){var t,r=this.props.location,n=r.hash,o=r.key;o&&(t=this._stateStorage.read(this.props.location,o)),n?this.scrollToHash(decodeURI(n),e):this.windowScroll(t,e)},r.render=function(){return a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(a.Component);t.ScrollHandler=f,f.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},3662:function(e,t,r){"use strict";
2function n(e,t){return n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},n(e,t)}r.d(t,{A:function(){return n}})},3697:function(e,t,r){"use strict";r.r(t),r.d(t,{onClientEntry:function(){return c}});var n=r(4794),o=r(2834),i=r.n(o);const a=e=>"/"===e[0]?e:`/${e}`,s=(e,t)=>r=>{if(window.___failedResources)return!0;if((e=>0!==e.button||e.altKey||e.ctrlKey||e.metaKey||e.shiftKey)(r))return!0;if((e=>e.defaultPrevented)(r))return!0;const o=(e=>{for(;e.parentNode;e=e.parentNode)if("a"===e.nodeName.toLowerCase())return e;return null})(r.target);if(null==o)return!0;if(!0===(s=o).hasAttribute("download")||!1===(e=>!1===e.hasAttribute("target")||null==e.target||["_self",""].includes(e.target)||"_parent"===e.target&&(!e.ownerDocument.defaultView.parent||e.ownerDocument.defaultView.parent===e.ownerDocument.defaultView)||"_top"===e.target&&(!e.ownerDocument.defaultView.top||e.ownerDocument.defaultView.top===e.ownerDocument.defaultView))(s))return!0;var s;const c=document.createElement("a");""!==o.href&&(c.href=o.href),"SVGAnimatedString"in window&&o.href instanceof SVGAnimatedString&&(c.href=o.href.animVal);const u=document.createElement("a");if(u.href=window.location.href,!1===((e,t)=>e.protocol===t.protocol&&e.host===t.host)(u,c))return!0;const l=new RegExp(`^${i()((0,n.withPrefix)("/"))}`);if(((e,t)=>!1===t.test(a(e.pathname))||-1!==e.pathname.search(/^.*\.((?!htm)[a-z0-9]{1,5})$/i))(c,l))return!0;if(((e,t)=>""!==t.hash&&(""===t.pathname||t.pathname===e.pathname))(u,c))return!0;if(t.excludePattern){if(new RegExp(t.excludePattern).test(c.pathname))return!0}r.preventDefault();const f=a(c.pathname).replace(l,"/");return e(`${f}${c.search}${c.hash}`),!1};const c=function(e,t){void 0===t&&(t={}),function(e,t,r){const n=s(r,t);e.addEventListener("click",n)}(window,t,(e=>{(0,n.navigate)(e)}))}},3721:function(e,t,r){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,i.useLocation)(),r=(0,o.useContext)(n.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(a.current){var n=r.read(t,e);a.current.scrollTo(0,n||0)}}),[t.key]),{ref:a,onScroll:function(){a.current&&r.save(t,e,a.current.scrollTop)}}};var n=r(3215),o=r(6540),i=r(6462)},4351:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var r="___GATSBY_REACT_ROUTER_SCROLL",n=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var n=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(n);return o?JSON.parse(o):0}catch(i){return window&&window[r]&&window[r][n]?window[r][n]:0}},t.save=function(e,t,n){var o=this.getStateKey(e,t),i=JSON.stringify(n);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[r]||(window[r]={}),window[r][o]=JSON.parse(i)}},t.getStateKey=function(e,t){var r="@@scroll|"+e.pathname;return null==t?r:r+"|"+t},e}();t.SessionStorage=n},4506:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r={}.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)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,{A:function(){return o}})},4598:function(e,t,r){"use strict";var n=r(4794)},4656:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:r=[],...n}=e||{},o=JSON.stringify(n,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},4794:function(e,t,r){"use strict";r.r(t),r.d(t,{Link:function(){return s.N_},PageRenderer:function(){return i()},Script:function(){return O.Script},ScriptStrategy:function(){return O.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return c.de},StaticQueryContext:function(){return c.G},collectedScriptsByPage:function(){return O.collectedScriptsByPage},graphql:function(){return k},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return S},scriptCache:function(){return O.scriptCache},scriptCallbackCache:function(){return O.scriptCallbackCache},useScrollRestoration:function(){return a.RV}
2,useStaticQuery:function(){return c.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var n=r(6814),o=r(2549),i=r.n(o),a=r(7035),s=r(7078),c=r(7231),u=r(7387);function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}var f=r(3662);function p(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(p=function(){return!!e})()}function h(e){var t="function"==typeof Map?new Map:void 0;return h=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return function(e,t,r){if(p())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var o=new(e.bind.apply(e,n));return r&&(0,f.A)(o,r.prototype),o}(e,arguments,l(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,f.A)(r,e)},h(e)}var d=r(6540),y=r(700),v=r(2024);const m=e=>{let{sliceId:t,children:r}=e;const n=[d.createElement("slice-start",{id:`${t}-1`}),d.createElement("slice-end",{id:`${t}-1`})];return r&&(n.push(r),n.push(d.createElement("slice-start",{id:`${t}-2`}),d.createElement("slice-end",{id:`${t}-2`}))),n},g=e=>{let{sliceName:t,allowEmpty:r,children:n,...o}=e;const i=(0,d.useContext)(v.Jr),a=(0,d.useContext)(v.hr),s=i[t];if(!s){if(r)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}const c=((e,t)=>Object.keys(t).length?`${e}-${(0,y.U)(t)}`:e)(s,o);let u=a[c];return u?n&&(u.hasChildren=!0):a[c]=u={props:o,sliceName:s,hasChildren:!!n},d.createElement(m,{sliceId:c},n)},b=e=>{let{sliceName:t,allowEmpty:r,children:n,...o}=e;const i=(0,d.useContext)(v.Jr),a=(0,d.useContext)(v.dd),s=i[t],c=a.get(s);if(!c){if(r)return null;throw new Error(`Slice "${s}" for "${t}" slot not found`)}return d.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o),n)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const r=(0,d.useContext)(v.j$),n=_(e);if(Object.keys(n).length)throw new E("browser"===r.renderEnvironment,t.sliceName,n,e.__renderedByLocation);if("server"===r.renderEnvironment)return d.createElement(g,t);if("browser"===r.renderEnvironment)return d.createElement(b,t);if("engines"===r.renderEnvironment||"dev-ssr"===r.renderEnvironment)return d.createElement(b,t);if("slices"===r.renderEnvironment){let t="";try{t=`\n\nSlice component "${r.sliceRoot.name}" (${r.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${r.renderEnvironment}" is not supported.`)}}let E=function(e){function t(r,n,o,i){var a;const s=Object.entries(o).map((e=>{let[t,r]=e;return`not serializable "${r}" type passed to "${t}" prop`})).join(", "),c="SlicePropsError";let u="",l="";if(r){const e=d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),u="\n"+e.join("\n"),l=`Slice "${n}" was passed props that are not serializable (${s}).`}else{l=`${c}: Slice "${n}" was passed props that are not serializable (${s}).`;u=`${l}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(a=e.call(this,l)||this).name=c,u?a.stack=u:Error.captureStackTrace(a,t),i&&(a.forcedLocation={...i,functionName:"Slice"}),a}return(0,u.A)(t,e),t}(h(Error));const _=function(e,t,r,n){void 0===t&&(t={}),void 0===r&&(r=[]),void 0===n&&(n=null);for(const[o,i]of Object.entries(e)){if(null==i||!n&&"children"===o)continue;const e=n?`${n}.${o}`:o;"function"==typeof i?t[e]=typeof i:"object"==typeof i&&r.indexOf(i)<=0&&(r.push(i),_(i,t,r,e))}return t};var O=r(5535);const S=n.Ay.enqueue;function k(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},4945:function(e,t){var r="undefined"!=typeof self?self:this,n=function(){function e(){this.fetch=!1,this.DOMException=r.DOMException}return e.prototype=r,new e}();!function(e){!function(t){var r="URLSearchParams"in e,n="Symbol"in e&&"iterator"in Symbol,o="FileReader"in e&&"Blob"in e&&function(){try{return new Blob,!0}catch(e){return!1}}(),i="FormData"in e,a="ArrayBuffer"in e;if(a)var s=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array
2]"],c=ArrayBuffer.isView||function(e){return e&&s.indexOf(Object.prototype.toString.call(e))>-1};function u(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~]/i.test(e))throw new TypeError("Invalid character in header field name");return e.toLowerCase()}function l(e){return"string"!=typeof e&&(e=String(e)),e}function f(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return n&&(t[Symbol.iterator]=function(){return t}),t}function p(e){this.map={},e instanceof p?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function h(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function d(e){return new Promise((function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}}))}function y(e){var t=new FileReader,r=d(t);return t.readAsArrayBuffer(e),r}function v(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function m(){return this.bodyUsed=!1,this._initBody=function(e){var t;this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:o&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:i&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:r&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():a&&o&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=v(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):a&&(ArrayBuffer.prototype.isPrototypeOf(e)||c(e))?this._bodyArrayBuffer=v(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):r&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},o&&(this.blob=function(){var e=h(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){return this._bodyArrayBuffer?h(this)||Promise.resolve(this._bodyArrayBuffer):this.blob().then(y)}),this.text=function(){var e,t,r,n=h(this);if(n)return n;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,r=d(t),t.readAsText(e),r;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},i&&(this.formData=function(){return this.text().then(w)}),this.json=function(){return this.text().then(JSON.parse)},this}p.prototype.append=function(e,t){e=u(e),t=l(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},p.prototype.delete=function(e){delete this.map[u(e)]},p.prototype.get=function(e){return e=u(e),this.has(e)?this.map[e]:null},p.prototype.has=function(e){return this.map.hasOwnProperty(u(e))},p.prototype.set=function(e,t){this.map[u(e)]=l(t)},p.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},p.prototype.keys=function(){var e=[];return this.forEach((function(t,r){e.push(r)})),f(e)},p.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),f(e)},p.prototype.entries=function(){var e=[];return this.forEach((function(t,r){e.push([r,t])})),f(e)},n&&(p.prototype[Symbol.iterator]=p.prototype.entries);var g=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function b(e,t){var r,n,o=(t=t||{}).body;if(e instanceof b){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new p(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,o||null==e._bodyInit||(o=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new p(t.headers)),this.method=(r=t.method||this.method||"GET",n=r.toUpperCase(),g.indexOf(n)>-1?n:r),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&o)throw new TypeError("Body not allowed for GET or HEAD requests");this._initBody(o)}function w(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var r=e.split("="),n=r.shift().replace(/\+/g," "),o=r.join("=").replace(/\+/g," ");t.append(decodeURIComponent(n),decodeURIComponent(o))}})),t}function E(e,t){t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText="statusText"in t?t.statusText:"OK",this.headers=new p(t.headers),this.url=t.url||"",this._initBody(e)}b.prototype.clone=function(){return new b(this,{body:this._bodyInit})},m.call(b.prototype),m.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new p(this.headers),url:this.url})},E.error=function(){var e=new E(null,{status:0,statusText:""});return e.type="error",e};var _=[301,302,303,307,308];E.redirect=function(e,t){if(-1===_.indexOf(t))throw new RangeError("Invalid status code");return new E(null,{status:t,headers:{location:e}})},t.DOMException=e.DOMException;try{new t.DOMException}catch(S){t.DOMException=function(e,t){this.message=e,this.name=t;var r=Error(e);this.stack=r.stack},t.DOMException.prototype=Object.create(Error.prototype),t.DOMException.prototype.constructor=t.DOMException}function O(e,r){return new Promise((function(n,i){var a=new b(e,r);if(a.signal&&a.signal.aborted)return i(new t.DOMException("Aborted","AbortError"));var s=new XMLHttpRequest;function c(){s.abort()}s.onload=function(){var e,t,r={status:s.status,statusText:s.statusText,headers:(e=s.getAllResponseHeaders()||"",t=new p,e.replace(/\r?\n[\t ]+/g," ").split(/\r?\n/).forEac
2h((function(e){var r=e.split(":"),n=r.shift().trim();if(n){var o=r.join(":").trim();t.append(n,o)}})),t)};r.url="responseURL"in s?s.responseURL:r.headers.get("X-Request-URL");var o="response"in s?s.response:s.responseText;n(new E(o,r))},s.onerror=function(){i(new TypeError("Network request failed"))},s.ontimeout=function(){i(new TypeError("Network request failed"))},s.onabort=function(){i(new t.DOMException("Aborted","AbortError"))},s.open(a.method,a.url,!0),"include"===a.credentials?s.withCredentials=!0:"omit"===a.credentials&&(s.withCredentials=!1),"responseType"in s&&o&&(s.responseType="blob"),a.headers.forEach((function(e,t){s.setRequestHeader(t,e)})),a.signal&&(a.signal.addEventListener("abort",c),s.onreadystatechange=function(){4===s.readyState&&a.signal.removeEventListener("abort",c)}),s.send(void 0===a._bodyInit?null:a._bodyInit)}))}O.polyfill=!0,e.fetch||(e.fetch=O,e.Headers=p,e.Request=b,e.Response=E),t.Headers=p,t.Request=b,t.Response=E,t.fetch=O,Object.defineProperty(t,"__esModule",{value:!0})}({})}(n),n.fetch.ponyfill=!0,delete n.fetch.polyfill;var o=n;(t=o.fetch).default=o.fetch,t.fetch=o.fetch,t.Headers=o.Headers,t.Request=o.Request,t.Response=o.Response,e.exports=t},4994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5535:function(e,t,r){"use strict";r.r(t),r.d(t,{Script:function(){return d},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return p},scriptCallbackCache:function(){return h}});var n=r(6540),o=r(6462);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},i.apply(this,arguments)}const a=new Map,s={get:e=>a.get(e)||[],set(e,t){const r=a.get(e)||[];r.push(t),a.set(e,r)},delete(e){a.delete(e)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),p=new Set,h=new Map;function d(e){return n.createElement(o.Location,null,(()=>n.createElement(y,e)))}function y(e){const{src:t,strategy:r=u.postHydrate}=e||{},{pathname:a}=(0,o.useLocation)();if((0,n.useEffect)((()=>{let t;switch(r){case u.postHydrate:t=v(e);break;case u.idle:c((()=>{t=v(e)}));break;case u.offMainThread:{const t=g(e);s.set(a,t)}}return()=>{const{script:e,loadCallback:r,errorCallback:n}=t||{};r&&(null==e||e.removeEventListener("load",r)),n&&(null==e||e.removeEventListener("error",n)),null==e||e.remove()}}),[]),r===u.offMainThread){const o=m(e),c=g(e);return"undefined"==typeof window&&s.set(a,c),n.createElement("script",o?i({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:m(e)}}):i({type:"text/partytown",src:b(t),"data-strategy":r,crossOrigin:"anonymous"},c))}return null}function v(e){const{id:t,src:r,strategy:n=u.postHydrate,onLoad:o,onError:a}=e||{},s=t||r,c=["load","error"],l={load:o,error:a};if(s){for(const e of c)if(null!=l&&l[e]){var f;const t=h.get(s)||{},{callbacks:r=[]}=(null==t?void 0:t[e])||{};var d,y;r.push(null==l?void 0:l[e]),null!=t&&null!=(f=t[e])&&f.event?null==l||null==(d=l[e])||d.call(l,null==t||null==(y=t[e])?void 0:y.event):h.set(s,i({},t,{[e]:{callbacks:r}}))}if(p.has(s))return null}const v=m(e),b=g(e),E=document.createElement("script");t&&(E.id=t),E.dataset.strategy=n;for(const[i,u]of Object.entries(b))E.setAttribute(i,u);v&&(E.textContent=v),r&&(E.src=r);const _={};if(s){for(const e of c){const t=t=>w(t,s,e);E.addEventListener(e,t),_[`${e}Callback`]=t}p.add(s)}return document.body.appendChild(E),{script:E,loadCallback:_.loadCallback,errorCallback:_.errorCallback}}function m(e){const{dangerouslySetInnerHTML:t,children:r=""}=e||{},{__html:n=""}=t||{};return n||r}function g(e){const t={};for(const[r,n]of Object.entries(e))f.has(r)||(t[r]=n);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,r){const n=h.get(t)||{};for(const i of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;i(e)}h.set(t,{[r]:{event:e}})}},5636:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}
2e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6017:function(e,t,r){"use strict";r.d(t,{A:function(){return S}});var n=r(6540),o=r(5556),i=r.n(o),a=r(20),s=r(8990),c=r(4506),u=r(4794),l=r(6462),f=r(9732);function p(e){let{children:t,callback:r}=e;return(0,n.useEffect)((()=>{r()})),t}const h=["link","meta","style","title","base","noscript","script","html","body"];function d(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){const n=t.cloneNode(!0);return n.setAttribute("nonce",""),n.nonce=r,r===e.nonce&&e.isEqualNode(n)}}return e.isEqualNode(t)}function y(e,t){void 0===t&&(t={html:{},body:{}});const r=new Map,n=[];for(const u of e.childNodes){var o,i;const e=u.nodeName.toLowerCase(),l=null===(o=u.attributes)||void 0===o||null===(i=o.id)||void 0===i?void 0:i.value;if(g(u)){if(m(e))if("html"===e||"body"===e)for(const r of u.attributes){const n="style"===r.name;var a;if(t[e]={...t[e]},n||(t[e][r.name]=r.value),n)t[e].style=`${null!==(a=t[e])&&void 0!==a&&a.style?t[e].style:""}${r.value} `}else{let e=u.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=v(e)),l)if(r.has(l)){var s;const t=r.get(l);null===(s=n[t].parentNode)||void 0===s||s.removeChild(n[t]),n[t]=e}else n.push(e),r.set(l,n.length-1);else n.push(e)}u.childNodes.length&&n.push.apply(n,(0,c.A)(y(u,t).validHeadNodes))}}return{validHeadNodes:n,htmlAndBodyAttributes:t}}function v(e){const t=document.createElement("script");for(const r of e.attributes)t.setAttribute(r.name,r.value);return t.innerHTML=e.innerHTML,t}function m(e){return h.includes(e)}function g(e){return 1===e.nodeType}const b=document.createElement("div"),w={html:[],body:[]},E=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:r}=y(b);w.html=Object.keys(r.html),w.body=Object.keys(r.body),function(e){if(!e)return;const{html:t,body:r}=e,n=document.querySelector("html");n&&Object.entries(t).forEach((e=>{let[t,r]=e;n.setAttribute(t,r)}));const o=document.querySelector("body");o&&Object.entries(r).forEach((e=>{let[t,r]=e;o.setAttribute(t,r)}))}(r);const n=document.querySelectorAll("[data-gatsby-head]");var o;if(0===n.length)return void(o=document.head).append.apply(o,(0,c.A)(t));const i=[];!function(e){let{oldNodes:t,newNodes:r,onStale:n,onNew:o}=e;for(const i of t){const e=r.findIndex((e=>d(e,i)));-1===e?n(i):r.splice(e,1)}for(const i of r)o(i)}({oldNodes:n,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>i.push(e)}),(e=document.head).append.apply(e,i)};function _(e){let{pageComponent:t,staticQueryResults:r,pageComponentProps:o}=e;(0,n.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:i}=(0,f.n)(),s=n.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),c=(0,a.N)("wrapRootElement",{element:s},s,(e=>{let{result:t}=e;return{element:t}})).pop();i(n.createElement(p,{callback:E},n.createElement(u.StaticQueryContext.Provider,{value:r},n.createElement(l.LocationProvider,null,c))),b)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:r}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(r){const e=document.querySelector("body");r.forEach((t=>{e&&e.removeAttribute(t)}))}}(w)}}))}function O(e){const t={...e,params:{...(0,s.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let r;var o;r=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,n.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});_({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,a.N)("wrapPageElement",{element:r,props:t},r,(e=>{let{result:r}=e;return{element:r,props:t}})).pop()}O.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var S=O},6221:function(e,t,r){var n=r(5636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},6395:function(e,t){"use strict";t.T=void 0;const r=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const n=e.endsWith("/");return((e,t)=>{for(const r of e)if(t.endsWith(r))return!0;return!1})(r,e)?e:"always"===t?n?e:`${e}/`:"never"===t&&n?e.slice(0,-1):e}},6462:function(e,t,r){"use strict";var n;r.r(t),r.d(t,{BaseContext:function(){return v},Link:function(){return H},Location:function(){return X},LocationContext:function(){return m},LocationProvider:function(){return Y},Match:function(){return ee},Redirect:function(){return S},Router:function(){return se},ServerLocation:function(){return Z},createHistory:function(){return l},createMemorySource:function(){return f},globalHistory:function(){return h},insertParams:function(){return D},isRedirect:function(){return E},match:function(){return R},navigate:function(){return d},pick:function(){return T},redirectTo:function(){return _},resolve:function(){return x},shallowCompare:function(){return L},startsWith:function(){return k},useBaseContext:function(){return g},useLocation:function(){return ue},useLocationContext:function(){return b},useMatch:function(){return pe},useNavigate:function(){return le},useParams:function(){return fe},validateRedirect:function(){return P}});var o=r(6540),i=r(5556),a=r(311);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}const u=e=>{const{search:t,hash:r,href:n,origin:o,protocol:i,host:a,hostname:s,port:c}=e.location;let{pathname:u}=e.location;return!u&&n&&p&&(u=new URL(n).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:r,href:n,origin:o,protocol:i,host:a,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>{let r=[],n=u(e),o=!1,i=()=>{};return{get location(){return n},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},listen(t){r.push(t);const o=()=>{n=u(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),r=r.filter((e=>e!==t))}},navigate(t,{state:a,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{a=s({},a,{key:Date.now()+""});try{o||c?e.history.replaceState(a,null,t):e.history.pushState(a,null,t)}catch(r){e.location[c?"replace":"assign"](t)}}n=u(e),o=!0;const l=new Promise((e=>i=e));return r.forEach((e=>e({location:n,action:"PUSH"}))),l}}},f=(e="/")=>{const t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let n=0;const o=[r],i=[null];return{get location(){return o[n]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return n},get state(){return i[n]},pushState(e,t,r){const[a,s=""]=r.split("?");n++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(e)},replaceState(e,t,r){const[a,s=""]=r.split("?");o[n]={pathname:a,search:s},i[n]=e},go(e){const t=n+e;t<0||t>i.length-1||(n=t)}}}},p=!("undefined"==typeof window||!window.document||!window.document.createElement),h=l(p?window:f()),{navigate:d}=h;function y(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const v=y("Base",{baseuri:"/",basepath:"/"}),m=y("Location"),g=()=>o.useContext(v),b=()=>o.useContext(m);function w(e){this.uri=e}const E=e=>e instanceof w,_=e=>{throw new w(e)};function O(e){const{to:t,replace:r=!0,state:n,noThrow:i,baseuri:a}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=x(t,a);d(D(o,e),{replace:r,state:n})}))}),[]);const s=x(t,a);return i||_(D(s,e)),null}const S=e=>{const t=b(),{baseuri:r}=g();return o.createElement(O,s({},t,{baseuri:r},e))};S.propTypes={from:i.string,to:i.string.isRequired};const k=(e,t)=>e.substr(0,t.length)===t,T=(e,t)=>{let r,n;const[o]=t.split("?"),i=F(o),s=""===i[0],c=A(e);for(let u=0,l=c.length;u<l;u++){let e=!1;const o=c[u].route;if(o.default){n={route:o,params:{},uri:t};continue}const l=F(o.path),f={},p=Math.max(i.length,l.length);let h=0;for(;h<p;h++){const t=l[h],r=i[h];if(I(t)){f[t.slice(1)||"*"]=i.slice(h).map(decodeURIComponent).join("/");break}if(void 0===r){e=!0;break}const n=C.exec(t);if(n&&!s){const e=-1===M.indexOf(n[1]);a(e,`<Router> dynamic segment "${n[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(r);f[n[1]]=t}else if(t!==r){e=!0;break}}if(!e){r={route:o,params:f,uri:"/"+i.slice(0,h).join("/")};break}}return r||n||null},R=(e,t)=>T([{path:e}],t),x=(e,t)=>{if(k(e,"/"))return e;const[r,n]=e.split("?"),[o]=t.split("?"),i=F(r),a=F(o);if(""===i[0])return q(o,n);if(!k(i[0],".")){const e=a.concat(i).join("/");return q(("/"===o?"":"/")+e,n)}const s=a.concat(i),c=[];for(let u=0,l=s.length;u<l;u++){const e=s[u];".."===e?c.pop():"."!==e&&c.push(e)}return q("/"+c.join("/"),n)},D=(e,t)=>{const[r,n=""]=e.split("?");let o="/"+F(r).map((e=>{const r=C.exec(e);return r?t[r[1]]:e})).join("/");const{location:{search:i=""}={}}=t,a=i.split("?")[1]||"";return o=q(o,n,a),o},P=(e,t)=>{const r=e=>j(e);return F(e).filter(r).sort().join("/")===F(t).filter(r).sort().join("/")},C=/^:(.+)/,j=e=>C.test(e),I=e=>e&&"*"===e[0],N=(e,t)=>({route:e,score:e.default?0:F(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:j(t)?e+=2:I(t)?e-=5:e+=3,e)),0),index:t}),A=e=>e.map(N).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),F=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),q=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),M=["uri","path"],L=(e,t)=>{const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every((r=>t.hasOwnProperty(r)&&e[r]===t[r]))},Q=e=>e.replace(/(^\/+|\/+$)/g,""),V=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,V(e));if(a(t.props.path||t.props.default||t.type===S,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),a(!!(t.type!==S||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),a(!(t.type===S&&!P(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const r=t.type===S?t.props.from:t.props.path,n="/"===r?e:`${Q(e)}/${Q(r)}`;return{value:t,default:t.props.default,path:t.props.children?`${Q(n)}/*`:n}},U=["innerRef"],B=["to","state","replace","getProps"],W=["key"];let{forwardRef:$}=n||(n=r.t(o,2));void 0===$&&($=e=>e);const z=()=>{},H=$(((e,t)=>{let{innerRef:r}=e,n=c(e,U);const{baseuri:i}=g(),{location:a}=b(),{to:u,state:l,replace:f,getProps:p=z}=n,h=c(n,B),y=x(u,i),v=encodeURI(y),m=a.pathname===v,w=k(a.pathname,v);return o.createElement("a",s({ref:t||r,"aria-current":m?"page":void 0},h,p({isCurrent:m,isPartiallyCurrent:w,href:y,location:a}),{href:y,onClick:e=>{if(h.onClick&&h.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&m){const e=c(s({},a.state),W);t=L(s({},l),e)}d(y,{state:l,replace:t})}}}))}));H.displayName="Link",H.propTypes={to:i.string.isRequired};class J extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const G=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function K({children:e}){const[t,r]=o.useState(),n=o.useRef(),i=o.useMemo((()=>({componentDidCatch:n,error:t,setError:r})),[t]);return o.createElement(G.Provider,{value:i},o.createElement(J,{error:t,onError:(e,t)=>
2{r(e),null==n.current||n.current(e,t)}},e))}K.displayName="ReactUseErrorBoundaryContext";const Y=function(e){var t,r;function n(t){return o.createElement(K,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return n.displayName=`WithErrorBoundary(${null!=(t=null!=(r=e.displayName)?r:e.name)?t:"Component"})`,n}((({history:e=h,children:t})=>{const{location:r}=e,[n,i]=o.useState({location:r}),[a]=function(){const e=o.useContext(G);e.componentDidCatch.current=void 0;const t=o.useCallback((()=>{e.setError(void 0)}),[]);return[e.error,t]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[n.location]),o.useEffect((()=>{let t=!1;const r=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||i({location:e})}))}))}));return()=>{t=!0,r()}}),[]),a){if(!E(a))throw a;d(a.uri,{replace:!0})}return o.createElement(m.Provider,{value:n},"function"==typeof t?t(n):t||null)})),X=({children:e})=>{const t=b();return t?e(t):o.createElement(Y,null,e)},Z=({url:e,children:t})=>{const r=e.indexOf("?");let n,i="";return r>-1?(n=e.substring(0,r),i=e.substring(r)):n=e,o.createElement(m.Provider,{value:{location:{pathname:n,search:i,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:r}=g(),{location:n}=b(),o=x(e,r),i=R(o,n.pathname);return t({location:n,match:i?s({},i.params,{uri:i.uri,path:e}):null})},te=["uri","location","component"],re=["children","style","component","uri","location"],ne=e=>{let{uri:t,location:r,component:n}=e,i=c(e,te);return o.createElement(ie,s({},i,{component:n,uri:t,location:r}))};let oe=0;const ie=e=>{let{children:t,style:r,component:n="div",uri:i,location:a}=e,u=c(e,re);const l=o.useRef(),f=o.useRef(!0),p=o.useRef(i),h=o.useRef(a.pathname),d=o.useRef(!1);o.useEffect((()=>(oe++,y(),()=>{oe--,0===oe&&(f.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;i!==p.current&&(p.current=i,e=!0),a.pathname!==h.current&&(h.current=a.pathname,t=!0),d.current=e||t&&a.pathname===i,d.current&&y()}),[i,a]);const y=o.useCallback((()=>{var e;f.current?f.current=!1:(e=l.current,d.current&&e&&e.focus())}),[]);return o.createElement(n,s({style:s({outline:"none"},r),tabIndex:"-1",ref:l},u),t)},ae=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=g(),r=b();return o.createElement(ce,s({},t,r,e))};function ce(e){const{location:t,primary:r=!0,children:n,basepath:i,component:a="div"}=e,u=c(e,ae),l=o.Children.toArray(n).reduce(((e,t)=>{const r=V(i)(t);return e.concat(r)}),[]),{pathname:f}=t,p=T(l,f);if(p){const{params:e,uri:n,route:c,route:{value:l}}=p,f=c.default?i:c.path.replace(/\*$/,""),h=s({},e,{uri:n,location:t}),d=o.cloneElement(l,h,l.props.children?o.createElement(se,{location:t,primary:r},l.props.children):void 0),y=r?ne:a,m=r?s({uri:n,location:t,component:a},u):u;return o.createElement(v.Provider,{value:{baseuri:n,basepath:f}},o.createElement(y,m,d))}return null}const ue=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},fe=()=>{const e=g();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),r=R(e.basepath,t.pathname);return r?r.params:null},pe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=g();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const r=ue(),n=x(e,t.baseuri),o=R(n,r.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},6491:function(e,t,r){"use strict";r.d(t,{X:function(){return i}});const n=new Map,o=new Map;function i(e){let t=n.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):n.set(e.fromPath,e)}))},6498:function(e,t,r){"use strict";var n=r(7387),o=r(20),i=r(6540),a=r(6462),s=r(7035),c=r(7231),u=r(2024),l=r(6814),f=r(6491),p=r(9369);const h={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var d=r(7078);function y(e){const t=(0,f.X)(e),{hash:r,search:n}=window.location;return null!=t&&(window.___replace(t.toPath+n+r),!0)}let v="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&v&&(window.location.pathname=v)}));const m=(e,t)=>
2{y(e.pathname)||(v=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},g=(e,t)=>{y(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void a.globalHistory.navigate(e);const{pathname:r,search:n,hash:i}=(0,d.Rr)(e),s=(0,f.X)(r);if(s&&(e=s.toPath+n+i),window.___swUpdated)return void(window.location=r+n+i);const c=setTimeout((()=>{p.A.emit("onDelayedLoadPageResources",{pathname:r}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.Ay.loadPage(r+n).then((o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=r,void clearTimeout(c);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=r+n+i),(0,a.navigate)(e,t),clearTimeout(c)}))};function w(e,t){let{location:r}=t;const{pathname:n,hash:i}=r,a=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:n,routerProps:{location:r},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(a.length>0)return a[a.length-1];if(e){const{location:{pathname:t}}=e;if(t===n)return i?decodeURI(i.slice(1)):[0,0]}return!0}let E=function(e){function t(t){var r;return(r=e.call(this,t)||this).announcementRef=i.createRef(),r}(0,n.A)(t,e);var r=t.prototype;return r.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const r=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==r&&(this.announcementRef.current.innerText=r)}}))},r.render=function(){return i.createElement("div",Object.assign({},h,{ref:this.announcementRef}))},t}(i.Component);const _=(e,t)=>{var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)};let O=function(e){function t(t){var r;return r=e.call(this,t)||this,m(t.location,null),r}(0,n.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){g(this.props.location,null)},r.shouldComponentUpdate=function(e){return!!_(this.props.location,e.location)&&(m(e.location,this.props.location),!0)},r.componentDidUpdate=function(e){_(e.location,this.props.location)&&g(this.props.location,e.location)},r.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(E,{location:location}))},t}(i.Component);var S=r(6017),k=r(6877);function T(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}var R=function(e){function t(t){var r;r=e.call(this)||this;const{location:n,pageResources:o}=t;return r.state={location:{...n},pageResources:o||l.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0})},r}(0,n.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:r}=e;if(t.location.href!==r.href){return{pageResources:l.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0}),location:{...r}}}return{location:{...r}}};var r=t.prototype;return r.loadResources=function(e){l.Ay.loadPage(e).then((t=>{t&&t.status!==l.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},r.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,r){return T(e.props,t)||T(e.state,r)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},r.render=function(){return this.props.children(this.state)},t}(i.Component),x=r(8797),D=r(9732);const P=new l.N5(k,[],window.pageData);(0,l.iC)(P),P.setApiRunner(o.N);const{render:C,hydrate:j}=(0,D.n)();window.asyncRequires=k,window.___emitter=p.A,window.___loader=l.Zf,a.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>
2b(e,t);const I="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&r(626);const e=e=>i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(S.A,e)),t=i.createContext({}),f={renderEnvironment:"browser"};let p=function(e){function r(){return e.apply(this,arguments)||this}return(0,n.A)(r,e),r.prototype.render=function(){const{children:e}=this.props;return i.createElement(a.Location,null,(r=>{let{location:n}=r;return i.createElement(R,{location:n},(r=>{let{pageResources:n,location:o}=r;const a=(0,l.LE)(),s=(0,l.Rh)();return i.createElement(c.G.Provider,{value:a},i.createElement(u.j$.Provider,{value:f},i.createElement(u.dd.Provider,{value:s},i.createElement(u.Jr.Provider,{value:n.page.slicesMap},i.createElement(t.Provider,{value:{pageResources:n,location:o}},e)))))}))}))},r}(i.Component),h=function(r){function o(){return r.apply(this,arguments)||this}return(0,n.A)(o,r),o.prototype.render=function(){return i.createElement(t.Consumer,null,(t=>{let{pageResources:r,location:n}=t;return i.createElement(O,{location:n},i.createElement(s.z_,{location:n,shouldUpdateScroll:w},i.createElement(a.Router,{basepath:"",location:n,id:"gatsby-focus-wrapper"},i.createElement(e,Object.assign({path:"/404.html"===r.page.path||"/500.html"===r.page.path?(0,x.A)(n.pathname,""):encodeURI((r.page.matchPath||r.page.path).split("?")[0])},this.props,{location:n,pageResources:r},r.json)))))}))},o}(i.Component);const{pagePath:d,location:y}=window;d&&""+d!==y.pathname+(d.includes("?")?y.search:"")&&!(P.findMatchPath((0,x.A)(y.pathname,""))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+d+(d.includes("?")?"":y.search)+y.hash,{replace:!0});const v=()=>{try{return sessionStorage}catch{return null}};l.Zf.loadPage(y.pathname+y.search).then((e=>{var t;const r=v();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),r)){if(!("1"===r.getItem(I)))return r.setItem(I,"1"),void window.location.reload(!0)}if(r&&r.removeItem(I),!e||e.status===l.Wi.Error){const t=`page resources for ${y.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const n=(0,o.N)("wrapRootElement",{element:i.createElement(h,null)},i.createElement(h,null),(e=>{let{result:t}=e;return{element:t}})).pop(),a=function(){const e=i.useRef(!1);return i.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),i.createElement(p,null,n)},s=document.getElementById("gatsby-focus-wrapper");let c=C;s&&s.children.length&&(c=j);const u=(0,o.N)("replaceHydrateFunction",void 0,c)[0];function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(i.createElement(a,null),e)}const d=document;if("complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)setTimeout((function(){f()}),0);else{const e=function(){d.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};d.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},6814:function(e,t,r){"use strict";r.d(t,{Wi:function(){return f},N5:function(){return E},Ay:function(){return S},Rh:function(){return T},LE:function(){return k},Zf:function(){return O},iC:function(){return _}});var n=r(7387),o=r(4506),i=r(8163);const a=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(r){return!1}return!1}("prefetch")?function(e,t){return new Promise(((r,n)=>{if("undefined"==typeof document)return void n();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=r,o.onerror=n;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,r)=>{const n=new XMLHttpRequest;n.open("GET",e,!0),n.onload=()=>{200===n.status?t():r()},n.send(null)}))},s={};var c=function(e,t){return new Promise((r=>{s[e]?r():a(e,t).then((()=>{r(),s[e]=!0}
2)).catch((()=>{}))}))},u=r(9369),l=r(8990);const f={Error:"error",Success:"success"},p=e=>{const[t,r]=e.split("?");var n;return`/page-data/${"/"===t?"index":(n="/"===(n=t)[0]?n.slice(1):n).endsWith("/")?n.slice(0,-1):n}/page-data.json${r?`?${r}`:""}`},h=e=>e.startsWith("//");function d(e,t){return void 0===t&&(t="GET"),new Promise((r=>{const n=new XMLHttpRequest;n.open(t,e,!0),n.onreadystatechange=()=>{4==n.readyState&&r(n)},n.send(null)}))}const y=/bot|crawler|spider|crawling/i,v=function(e,t,r){var n;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(n=e.slicesMap)&&void 0!==n?n:{}};return{component:t,head:r,json:e.result,page:o}};function m(e){return new Promise((t=>{try{const r=e.readRoot();t(r)}catch(r){if(!Object.hasOwnProperty.call(r,"_response")||!Object.hasOwnProperty.call(r,"_status"))throw r;setTimeout((()=>{m(e).then(t)}),200)}}))}let g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,l.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=d(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:r=0}=e,n=p(t);return this.memoizedGet(n).then((n=>{const{status:o,responseText:i}=n;if(200===o)try{const r=JSON.parse(i);if(void 0===r.path)throw new Error("not a valid pageData response");const n=t.split("?")[1];return n&&!r.path.includes(n)&&(r.path+=`?${n}`),Object.assign(e,{status:f.Success,payload:r})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPageDataJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:f.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:r=0}=e,n=p(t).replace(".json","-rsc.json");return this.memoizedGet(n).then((n=>{const{status:o,responseText:i}=n;if(200===o)try{return Object.assign(e,{status:f.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):r<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:r+1})):Object.assign(e,{status:f.Error})}))},t.loadPageDataJson=function(e){const t=(0,l.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,l.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))}
2,t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return d(`/slice-data/${e}.json`,"GET").then((t=>{const r=JSON.parse(t.responseText);return this.slicesDataDb.set(e,r),{sliceName:e,jsonPayload:r}}))},t.findMatchPath=function(e){return(0,l.Yl)(e)},t.loadPage=function(e){const t=(0,l.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const r=[this.loadAppData(),this.loadPageDataJson(t)];const n=Promise.all(r).then((e=>{const[r,n,a]=e;if(n.status===f.Error||(null==a?void 0:a.status)===f.Error)return{status:f.Error};let s=n.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:p={}}=s,h={},d=Array.from(new Set(Object.values(p))),y=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(r=t,r&&r.default||r),sliceContext:e.result.sliceContext,data:e.result.data};var r}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(d.map((e=>this.loadSliceDataJson(e)))).then((e=>{const p=[],d=(0,o.A)(l);for(const{jsonPayload:t,sliceName:r}of Object.values(e)){p.push({name:r,...t});for(const e of t.staticQueryHashes)d.includes(e)||d.push(e)}const g=[Promise.all(p.map(y)),this.loadComponent(c,"head")];g.push(this.loadComponent(c));const b=Promise.all(g).then((e=>{const[t,o,c]=e;h.createdAt=new Date;for(const r of t)(!r||r instanceof Error)&&(h.status=f.Error,h.error=r);let u;if((!c||c instanceof Error)&&(h.status=f.Error,h.error=c),h.status!==f.Error){if(h.status=f.Success,!0!==n.notFound&&!0!==(null==a?void 0:a.notFound)||(h.notFound=!0),s=Object.assign(s,{webpackCompilationHash:r?r.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){u=v(s,null,o),u.partialHydration=a.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(a.payload))},pull(e){e.close()},cancel(){}});return m((0,i.createFromReadableStream)(e)).then((e=>(u.partialHydration=e,u)))}u=v(s,c,o)}return u})),w=Promise.all(d.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then((t=>{const r=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:r}})).catch((()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:r,jsonPayload:n}=e;t[r]=n,this.staticQueryDb[r]=n})),t}));return Promise.all([b,w]).then((e=>{let r,[n,o]=e;return n&&(r={...n,staticQueryResults:o},h.payload=r,u.A.emit("onPostLoadPageResources",{page:r,pageResources:r})),this.pageDb.set(t,h),h.error?{error:h.error,status:h.status}:r})).catch((e=>({error:e,status:f.Error})))}))}));return n.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,n),n},t.loadPageSync=function(e,t){void 0===t&&(t={});const r=(0,l.Hh)(e);if(this.pageDb.has(r)){var n;const e=this.pageDb.get(r);if(e.payload)return e.payload;if(null!==(n=t)&&void 0!==n&&n.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!y.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,r)=>{t.resolve=e,t.reject=r})),this.prefetchQueued.push([e,t]);const r=new AbortController;return r.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[r]=t;return r===e}));
2-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,r)=>t.promise.then(e,r),abort:r.abort.bind(r)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,r]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?r.resolve(!1):this.doPrefetch((0,l.Hh)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),r.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=p(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,l.Hh)(e),r=this.pageDataDb.get(t);if(r){const e=v(r.payload);return[].concat((0,o.A)(b(e.page.componentChunkName)),[p(t)])}return null},t.isPageNotFound=function(e){const t=(0,l.Hh)(e),r=this.pageDb.get(t);return!r||r.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((t=>{const{status:r,responseText:n}=t;let o;if(200!==r&&e<3)return this.loadAppData(e+1);if(200===r)try{const e=JSON.parse(n);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(i){}return o}))},e}();const b=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let w,E=function(e){function t(t,r,n){var o;return o=e.call(this,(function(e,r){if(void 0===r&&(r="components"),!t[r="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[r][e]().catch((e=>e))}),r)||this,n&&o.pageDataDb.set((0,l.Hh)(n.path),{pagePath:n.path,payload:n,status:"success"}),o}(0,n.A)(t,e);var r=t.prototype;return r.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==f.Success)return Promise.resolve();const t=e.payload,r=t.componentChunkName,n=b(r);return Promise.all(n.map(c)).then((()=>t))}))},r.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?h(t)?e:d(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},r.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?h(t)?e:d(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},t}(g);const _=e=>{w=e},O={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var S=O;function k(){return w?w.staticQueryDb:{}}function T(){return w?w.slicesDb:{}}},6877:function(e,t,r){t.components={"component---src-pages-404-tsx":()=>Promise.all([r.e(869),r.e(223),r.e(453)]).then(r.bind(r,731)),"component---src-templates-page-page-template-tsx":()=>Promise.all([r.e(869),r.e(223),r.e(838)]).then(r.bind(r,3431)),"component---src-templates-post-post-template-tsx":()=>Promise.all([r.e(869),r.e(223),r.e(920)]).then(r.bind(r,3444)),"component---src-templates-post-researcher-template-tsx":()=>Promise.all([r.e(869),r.e(223),r.e(864)]).then(r.bind(r,7422))}},7035:function(e,t,r){"use strict";t.RV=t.z_=void 0;var n=r(3215);t.z_=n.ScrollHandler;var o=r(3721);t.RV=o.useScrollRestoration},7078:function(e,t,r){"use strict";r.d(t,{Fe:function(){return h},N_:function(){return _},Rr:function(){return c},Zf:function(){return g},oo:function(){return O}});var n=r(5556),o=r(6540),i=r(6462),a=r(6395);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
2for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},s.apply(this,arguments)}function c(e){let t=e||"/",r="",n="";const o=t.indexOf("#");-1!==o&&(n=t.slice(o),t=t.slice(0,o));const i=t.indexOf("?");return-1!==i&&(r=t.slice(i),t=t.slice(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=e=>{if("string"==typeof e)return!(e=>u.test(e))(e)},f=()=>"",p=()=>"";function h(e,t=f()){var r;if(!l(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const n=null!=(r=null!=t?t:p())?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${e.startsWith("/")?e:`/${e}`}`}const d=e=>null==e?void 0:e.startsWith("/");function y(e,t){const{pathname:r,search:n,hash:o}=c(e);return`${(0,a.T)(r,t)}${n}${o}`}const v=(e,t)=>"number"==typeof e?e:l(e)?d(e)?function(e){const t=h(e),r="always";return y(t,r)}(e):function(e,t){if(d(e))return e;const r="always",n=(0,i.resolve)(e,t);return y(n,r)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function g(e){return h(e,p())}const b={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function w(e){return o.createElement(i.Location,null,(({location:t})=>o.createElement(E,s({},e,{_location:t}))))}class E extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(v(this.props.to,e)),r=t.pathname+t.search;if(e!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const r=new window.IntersectionObserver((r=>{r.forEach((r=>{e===r.target&&t(r.isIntersecting||r.intersectionRatio>0)}))}));return r.observe(e),{instance:r,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:a,state:u,replace:f,_location:p}=e,h=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}(e,m),d=v(t,p.pathname);return l(d)?o.createElement(i.Link,s({to:d,state:u,getProps:r,innerRef:this.handleRef,onMouseEnter:e=>{a&&a(e);const t=c(d);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(n&&n(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const r=encodeURI(d)===p.pathname;"boolean"!=typeof f&&r&&(t=!0),window.___navigate(d,{state:u,replace:t})}return!0}},h)):o.createElement("a",s({href:d},h))}}E.propTypes=s({},b,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});const _=o.forwardRef(((e,t)=>o.createElement(w,s({innerRef:t},e)))),O=(e,t)=>{window.___navigate(v(e,window.location.pathname),t)}},7231:function(e,t,r){"use strict";r.d(t,{de:function(){return c},G:function(){return o},GR:function(){return u}});var n=r(6540);const o=(i="StaticQuery",a={},n.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=n.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(i,a):n.createContext(a));var i,a;function s(e){let{staticQueryData:t,data:r,query:o,render:i}=e;const a=r?r.data:t[o]&&t[o].data;return n.createElement(n.Fragment,null,a&&i(a),!a&&n.createElement("div",null,"Loa
2ding (StaticQuery)"))}const c=e=>{const{data:t,query:r,render:i,children:a}=e;return n.createElement(o.Consumer,null,(e=>n.createElement(s,{data:t,query:r,render:i||a,staticQueryData:e})))},u=e=>{var t;n.useContext;const r=n.useContext(o);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},7387:function(e,t,r){"use strict";r.d(t,{A:function(){return o}});var n=r(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,n.A)(e,t)}},7914:function(e,t,r){"use strict";r.r(t),r.d(t,{onRouteUpdate:function(){return n}});r(4794),r(4598);const n=function(e,t){let{location:r}=e}},8163:function(e,t,r){"use strict";e.exports=r(207)},8797:function(e,t,r){"use strict";function n(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}r.d(t,{A:function(){return n}})},8990:function(e,t,r){"use strict";r.d(t,{Yl:function(){return p},Hh:function(){return d},UA:function(){return h},QX:function(){return f}});var n=r(6462),o=r(8797),i=e=>{if(void 0===e)return e;let[t,r=""]=e.split("?");return r&&(r="?"+r),"/"===t?"/"+r:"/"===t.charAt(t.length-1)?t.slice(0,-1)+r:t+r},a=r(6491);const s=new Map;let c=[];const u=e=>{let t=e;if(-1!==e.indexOf("?")){const[r,n]=e.split("?");t=`${r}?${encodeURIComponent(n)}`}const r=decodeURIComponent(t);return(0,o.A)(r,decodeURIComponent("")).split("#")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const f=e=>{c=e},p=e=>{const t=y(e),r=c.map((e=>{let{path:t,matchPath:r}=e;return{path:r,originalPath:t}})),o=(0,n.pick)(r,t);return o?i(o.route.originalPath):null},h=e=>{const t=y(e),r=c.map((e=>{let{path:t,matchPath:r}=e;return{path:r,originalPath:t}})),o=(0,n.pick)(r,t);return o?o.params:{}},d=e=>{const t=u(l(e));if(s.has(t))return s.get(t);const r=(0,a.X)(e);if(r)return d(r.toPath);let n=p(t);return n||(n=y(e)),s.set(t,n),n},y=e=>{let t=u(l(e));return"/index.html"===t&&(t="/"),t=i(t),t}},9208:function(e,t,r){"use strict";r.r(t),r.d(t,{onRouteUpdate:function(){return a}});var n=r(6540),o=r(5338);let i;function a(){"requestIdleCallback"in window?(i&&cancelIdleCallback(i),i=requestIdleCallback(s)):(i&&clearTimeout(i),i=setTimeout(s))}function s(){const e=document,t=Array.from(e.querySelectorAll("[data-wp-inline-image]"));t.length&&r.e(117).then(r.bind(r,3479)).then((r=>{t.forEach((t=>{var i,a,s,c,u;const l=null==t||null===(i=t.parentNode)||void 0===i||null===(a=i.parentNode)||void 0===a||null===(s=a.classList)||void 0===s?void 0:s.contains("gatsby-image-wrapper"),f=null==t||null===(c=t.parentNode)||void 0===c||null===(u=c.classList)||void 0===u?void 0:u.contains("gatsby-image-wrapper");if(!l&&!f)return;const p=l?t.parentNode.parentNode:t.parentNode;if(t.dataset&&t.dataset.wpInlineImage&&p){const i=e.querySelector(`script[data-wp-inline-image-hydration="${t.dataset.wpInlineImage}"]`);if(i){const e=JSON.parse(i.innerHTML);o.createRoot(p).render(n.createElement(r.GatsbyImage,e))}}}))}))}},9300:function(e,t,r){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();r&&r.remove();const i=(0,o.getForwards)(e),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,n.partytownSnippet)({forward:i}),document.head.appendChild(a)};var n=r(4656),o=r(3309)},9369:function(e,t,r){"use strict";r.d(t,{A:function(){return n}});var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map((function(e){e(r)})),(e["*"]||[]).slice().map((function(e){e(t,r)}))}}}()},9377:function(e,t,r){e.exports=[{plugin:r(3697),options:{plugins:[]}},{plugin:r(9208),options:{plugins:[],url:"https://dev.c1517.cloudnet.cloud/?graphql=true",sc
2hema:{timeout:6e4,queryDepth:15,circularQueryLimit:5,typePrefix:"Wp",perPage:100,requestConcurrency:15,previewRequestConcurrency:5},verbose:!0,catchLinks:!0}},{plugin:r(7914),options:{plugins:[],name:"gatsby-starter-default",short_name:"starter",start_url:"/",background_color:"#663399",display:"minimal-ui",icon:"./src/images/SFSG-logo.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"4ddb351d99077250b6e0d0e96b32b787"}},{plugin:r(650),options:{plugins:[]}},{plugin:r(2311),options:{plugins:[]}}]},9732:function(e,t,r){"use strict";r.d(t,{n:function(){return o}});const n=new WeakMap;function o(){const e=r(5338);return{render:(t,r)=>{let o=n.get(r);o||n.set(r,o=e.createRoot(r)),o.render(t)},hydrate:(t,r)=>e.hydrateRoot(r,t)}}}},function(e){e.O(0,[593],(function(){return t=6498,e(e.s=t);var t}));e.O()}]); 3//# sourceMappingURL=app-ad4a76309276942b0e28.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.