PageSourceSearch

https://transparencia.gov.pt/_next/static/chunks/2079-a504690c24da0db0.js

js transparencia.gov.pt collected 2026-10-02 04:40:47 UTC 199,410 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2079],{44:(e,t,r)=>{"use strict";r.d(t,{b:()=>s});let n=()=>Object.create(null),{forEach:i,slice:o}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class s{constructor(e=!0,t=n){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return i.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(o.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),i=n&&n.get(r);i&&(t=i.removeArray(o.call(e,1)),i.data||i.weak||i.strong&&i.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new s(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}},4853:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{cancelIdleCallback:function(){return n},requestIdleCallback:function(){return r}});let r="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},n="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},10038:(e,t,r)=>{"use strict";r.d(t,{HQ:()=>u,JG:()=>s,ct:()=>a,s6:()=>l});var n=r(71450),i=r(23853),o=r(50424);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&((0,i.V1)(1===o.length,86,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"==typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,87,r),n||null;default:return null}}function l(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},10248:(e,t,r)=>{"use strict";r.d(t,{P:()=>E});var n=r(71450),i=r(22180),o=r(23853),a=r(83931),s=r(97056),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,o.vA)(42,t,e.message);throw n.parseError=e,n}return r},l=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},c=r(81186);function f(e){var t={next:function(){return e.read()}};return c.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var h=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},d=r(59794),p=r(66260),v=Object.prototype.hasOwnProperty;function y(e,t){e.status>=300&&h(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var g=function(e){if(!e&&"undefined"==typeof fetch)throw(0,o.vA)(40)},m=r(74742),b={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},w=function(e,t){return t(e)};function _(e){return new s.c(function(t){t.error(e)})}var k=r(50424),S=r(42527),O=r(53537),x=(0,o.no)(function(){return fetch}),C=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,C=e.fetch,E=e.print,R=void 0===E?w:E,T=e.includeExtensions,D=e.preserveHeaderCase,j=e.useGETForQueries,I=e.includeUnusedVariables,P=void 0!==I&&I,F=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&g(C||x);var L={http:{includeExtensions:T,preserveHeaderCase:D},options:F.fetchOptions,credentials:F.credentials,headers:F.headers};return new i.C(function(e){var t,i,g,w,E,T,D=l(e,r),I=e.getContext(),F={};if(I.clientAwareness){var V=I.clientAwareness,N=V.name,M=V.version;N&&(F["apollographql-client-name"]=N),M&&(F["apollographql-client-version"]=M)}var A=(0,n.Cl)((0,n.Cl)({},F),I.headers),q={http:I.http,options:I.fetchOptions,credentials:I.credentials,headers:A};if((0,a.d8)(["client"],e.query)){var Q=(0,S.er)(e.query);if(!Q)return _(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=Q}var z=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,u=e.extensions,l=e.variables,c=e.query,f={operationName:s,variables:l};return a.includeExtensions&&(f.extensions=u),a.includeQuery&&(f.query=t(c,m.y)),{options:o,body:f}}(e,R,b,L,q),$=z.options,U=z.body;U.variables&&!P&&(t=U.variables,i=e.query,g=(0,n.Cl)({},t),w=new Set(Object.keys(t)),(0,k.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&w.delete(e.name.value)}}),w.forEach(function(e){delete g[e]}),U.variables=g),$.signal||"undefined"==typeof AbortController||($.signal=(T=new AbortController).signal);var W="OperationDefinition"===(E=(0,O.Vn)(e.query)).kind&&"subscription"===E.operation,B=(0,a.d8)(["defer"],e.query);if(j&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&($.method="GET"),B||W){$.headers=$.headers||{};var K="multipart/mixed;";W&&B&&!1!==globalThis.__DEV__&&o.V1.warn(41),W?K+="boundary=graphql;subscriptionSpec=1.0,application/json":B&&(K+="deferSpec=20220824,application/json"),$.headers.accept=K}if("GET"===$.method){var H=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,l=e.indexOf("#");-1!==l&&(a=e.substr(l),s=e.substr(0,l));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(D,U),J=H.newURI,Y=H.parseError;if(Y)return _(Y);D=J}else try{$.body=u(U,"Payload")}catch(e){return _(e)}return new s.c(function(t){var r=C||(0,o.no)(function(){return fetch})||x,i=t.next.bind(t);return r(D,$).then(function(t){e.setContext({response:t});var r,o=null==(r=t.headers)?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,i,o,a,s,u,l,h,v,g,m,b,w,_,k,S,O,x,C,E,R,T,D;return(0,n.YH)(this,function(j){switch(j.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=null==(D=e.headers)?void 0:D.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),u="",l=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,c.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return f(s.getReader());if(s.stream)return f(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},c.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function u(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",u),e.removeListener("finish",u),e.removeListener("close",u)},e.on("data",a),e.on("error",s),e.on("end",u),e.on("finish",u),e.on("close",u);var l={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return c.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),h=!0,j.label=1;case 1:if(!h)return[3,3];return[4,l.next()];case 2:for(g=(v=j.sent()).value,m=v.done,b="string"==typeof g?g:r.decode(g),w=u.length-s.length+1,h=!m,u+=b,_=u.indexOf(s,w);_>-1;){if(k=void 0,k=(R=[u.slice(0,_),u.slice(_+s.length)])[0],u=R[1],S=k.indexOf("\r\n\r\n"),(O=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(k.slice(0,S))["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(x=k.slice(S)){if(Object.keys(C=y(e,x)).length>1||"data"in C||"incremental"in C||"errors"in C||"payload"in C)if((0,p.Nw)(C)){if(E={},"payload"in C){if(1===Object.keys(C).length&&null===C.payload)return[2];E=(0,n.Cl)({},C.payload)}"errors"in C&&(E=(0,n.Cl)((0,n.Cl)({},E),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in E?E.extensions:null),((T={})[d.K$]=C.errors,T))})),t(E)}else t(C);else if(1===Object.keys(C).length&&"hasNext"in C&&!C.hasNext)return[2]}_=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return y(t,e)}).then(function(r){return Array.isArray(r)||v.call(r,"data")||v.call(r,"errors")||h(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){T=void 0,t.complete()}).catch(function(e){T=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){T&&T.abort()}})})},E=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,C(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},11464:(e,t,r)=>{"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},12477:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(71450),i=r(23853),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},14762:(e,t,r)=>{"use strict";r.d(t,{S:()=>l});var n=r(11619),i=r(64716),o=r(37979),a=r(83931),s=r(79312),u=r(23853);function l(e,t,r){return s.yV.withValue(!0,function(){var l=function e(t,r,i,l,c){var f,h=i.knownChanged,d=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var p=0,v=Array.from(t.entries());p<v.length;p++){var y=v[p],g=y[0],m=y[1];if(null===m){d[g]=null;continue}var b=e(m,r,i,l,!1!==globalThis.__DEV__?"".concat(c||"","[").concat(g,"]"):void 0);h.has(b)&&h.add(d),d[g]=b}return h.has(d)?d:t}for(var w=0,_=r.selections;w<_.length;w++){var k=_[w],S=void 0;if(l&&h.add(d),k.kind===n.b.FIELD){var O=(0,o.ue)(k),x=k.selectionSet;if(void 0===(S=d[O]||t[O]))continue;if(x&&null!==S){var b=e(t[O],x,i,l,!1!==globalThis.__DEV__?"".concat(c||"",".").concat(O):void 0);h.has(b)&&(S=b)}!1===globalThis.__DEV__&&(d[O]=S),!1!==globalThis.__DEV__&&(!l||"__typename"===O||(null==(f=Object.getOwnPropertyDescriptor(d,O))?void 0:f.value)?(delete d[O],d[O]=S):Object.defineProperty(d,O,function(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(O,S,c||"",i.operationName,i.operationType)))}if(k.kind===n.b.INLINE_FRAGMENT&&(!k.typeCondition||i.cache.fragmentMatches(k,t.__typename))&&(S=e(t,k.selectionSet,i,l,c)),k.kind===n.b.FRAGMENT_SPREAD){var C=k.name.value,E=i.fragmentMap[C]||(i.fragmentMap[C]=i.cache.lookupFragment(C));(0,u.V1)(E,47,C);var R=(0,a.s7)(k);"mask"!==R&&(S=e(t,E.selectionSet,i,"migrate"===R,c))}h.has(S)&&h.add(d)}return"__typename"in t&&!("__typename"in d)&&(d.__typename=t.__typename),Object.keys(d).length!==Object.keys(t).length&&h.add(d),h.has(d)?d:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(l),l})}},22180:(e,t,r)=>{"use strict";r.d(t,{C:()=>c});var n=r(23853),i=r(97056),o=r(71450),a=r(53537);function s(e,t){return t?t(e):i.c.of()}function u(e){return"function"==typeof e?new c(e):e}function l(e){return e.request.length<=1}var c=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=u(r),a=u(n||new e(s));return Object.assign(new e(l(o)&&l(a)?function(e){return t(e)?o.request(e)||i.c.of():a.request(e)||i.c.of(
1)}:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,u,l,c;return e.request((u=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n.vA)(46,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),l=s,c=(0,o.Cl)({},u),Object.defineProperty(l,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,o.Cl)((0,o.Cl)({},c),e(c)):(0,o.Cl)((0,o.Cl)({},c),e)}}),Object.defineProperty(l,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},c)}}),l))||i.c.of()},e.concat=function(t,r){var o=u(t);if(l(o))return!1!==globalThis.__DEV__&&n.V1.warn(38,o),o;var a=u(r);return Object.assign(new e(l(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},23853:(e,t,r)=>{"use strict";r.d(t,{Sf:()=>p,V1:()=>g,no:()=>d,vA:()=>m});var n=r(71450),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var l=["debug","log","warn","error","silent"],c=l.indexOf("log");function f(e){return function(){if(l.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var h=r(97410);function d(e){try{return e()}catch(e){}}let p=d(function(){return globalThis})||d(function(){return window})||d(function(){return self})||d(function(){return global})||d(function(){return d.constructor("return this")()});var v=r(69451);function y(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=_(i))||(t=k(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var g=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||u(e,_(t,r)||k(t,r))},{debug:y(u.debug),log:y(u.log),warn:y(u.warn),error:y(u.error)});function m(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new s(_(e,t)||k(e,t))}var b=Symbol.for("ApolloErrorMessageHandler_"+h.r);function w(e){if("string"==typeof e)return e;try{return(0,v.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function _(e,t){if(void 0===t&&(t=[]),e)return p[b]&&p[b](e,t.map(w))}function k(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:h.r,message:e,args:t.map(w)})))}globalThis.__DEV__},25433:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},28363:(e,t,r)=>{"use strict";r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>l});var n=r(71450),i=r(25433),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new l,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var u=function(e,t,r){return this.merge(e[r],t[r])},l=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.c
1all(e,i)){var s=e[i];if(t[i]!==s){var u=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},29001:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{ESCAPE_REGEX:function(){return n},htmlEscapeAttributeString:function(){return s},htmlEscapeJsonString:function(){return a}});let r={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},n=/[&><\u2028\u2029]/g,i={"&":"&amp;",'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;"},o=/[&"'<>]/g;function a(e){return e.replace(n,e=>r[e])}function s(e){return e.replace(o,e=>i[e])}},29846:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},30338:(e,t,r)=>{"use strict";r.d(t,{Q_:()=>B});let n=e=>"string"==typeof e,i=()=>{let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},o=e=>null==e?"":""+e,a=/###/g,s=e=>e&&e.indexOf("###")>-1?e.replace(a,"."):e,u=e=>!e||n(e),l=(e,t,r)=>{let i=n(t)?t.split("."):t,o=0;for(;o<i.length-1;){if(u(e))return{};let t=s(i[o]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return u(e)?{}:{obj:e,k:s(i[o])}},c=(e,t,r)=>{let{obj:n,k:i}=l(e,t,Object);if(void 0!==n||1===t.length){n[i]=r;return}let o=t[t.length-1],a=t.slice(0,t.length-1),s=l(e,a,Object);for(;void 0===s.obj&&a.length;)o=`${a[a.length-1]}.${o}`,s=l(e,a=a.slice(0,a.length-1),Object),s?.obj&&void 0!==s.obj[`${s.k}.${o}`]&&(s.obj=void 0);s.obj[`${s.k}.${o}`]=r},f=(e,t)=>{let{obj:r,k:n}=l(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},h=(e,t,r)=>{for(let i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?n(e[i])||e[i]instanceof String||n(t[i])||t[i]instanceof String?r&&(e[i]=t[i]):h(e[i],t[i],r):e[i]=t[i]);return e},d=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};let v=e=>n(e)?e.replace(/[&<>"'\/]/g,e=>p[e]):e;class y{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}let g=[" ",",","?","!",";"],m=new y(20),b=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}let n=t.split(r),i=e;for(let e=0;e<n.length;){let t;if(!i||"object"!=typeof i)return;let o="";for(let a=e;a<n.length;++a)if(a!==e&&(o+=r),o+=n[a],void 0!==(t=i[o])){if(["string","number","boolean"].indexOf(typeof t)>-1&&a<n.length-1)continue;e+=a-e+1;break}i=t}return i},w=e=>e?.replace("_","-"),_={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class k{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||_,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,i){return i&&!this.debug?null:(n(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new k(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new k(this.logger,e)}}var S=new k;class O{constructor(){this.observers={}}
1on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let n=0;n<r;n++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,n])=>{for(let i=0;i<n;i++)r.apply(r,[e,...t])})}}class x extends O{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,i={}){let o,a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,s=void 0!==i.ignoreJSONStructure?i.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],r&&(Array.isArray(r)?o.push(...r):n(r)&&a?o.push(...r.split(a)):o.push(r)));let u=f(this.data,o);return(!u&&!t&&!r&&e.indexOf(".")>-1&&(e=o[0],t=o[1],r=o.slice(2).join(".")),!u&&s&&n(r))?b(this.data?.[e]?.[t],r,a):u}addResource(e,t,r,n,i={silent:!1}){let o=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,a=[e,t];r&&(a=a.concat(o?r.split(o):r)),e.indexOf(".")>-1&&(a=e.split("."),n=t,t=a[1]),this.addNamespaces(t),c(this.data,a,n),i.silent||this.emit("added",e,t,r,n)}addResources(e,t,r,i={silent:!1}){for(let i in r)(n(r[i])||Array.isArray(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,i,o={silent:!1,skipCopy:!1}){let a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),n=r,r=t,t=a[1]),this.addNamespaces(t);let s=f(this.data,a)||{};o.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?h(s,r,i):s={...s,...r},c(this.data,a,s),o.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var C={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,i)??t}),t}};let E={},R=e=>!n(e)&&"boolean"!=typeof e&&"number"!=typeof e;class T extends O{constructor(e,t={}){super(),((e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=S.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let r={...t};if(null==e)return!1;let n=this.resolve(e,r);return n?.res!==void 0}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS||[],a=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!((e,t,r)=>{t=t||"",r=r||"";let n=g.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let i=m.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),o=!i.test(e);if(!o){let t=e.indexOf(r);t>0&&!i.test(e.substring(0,t))&&(o=!0)}return o})(e,r,i);if(a&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:n(o)?[o]:o};let a=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(i)}return{key:e,namespaces:n(o)?[o]:o}}translate(e,t,r){let i="object"==typeof t?{...t}:t;if("object"!=typeof i&&this.options.overloadTranslationOptionHandler&&(i=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof options&&(i={...i}),i||(i={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let o=void 0!==i.returnDetails?i.returnDetails:this.options.returnDetails,a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,{key:s,namespaces:u}=this.extractFromKey(e[e.length-1],i),l=u[u.length-1],c=void 0!==i.nsSeparator?i.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");let f=i.lng||this.language,h=i.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode")return h?o?{res:`${l}${c}${s}`,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:`${l}${c}${s}`:o?{res:s,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:l,usedParams:this.getUsedParamsDetails(i)}:s;let d=this.resolve(e,i),p=d?.res,v=d?.usedKey||s,y=d?.exactUsedKey||s,g=void 0!==i.joinArrays?i.joinArrays:this.options.joinArrays,m=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==i.count&&!n(i.count),w=T.hasDefaultValue(i),_=b?this.pluralResolver.getSuffix(f,i.count,i):"",k=i.ordinal&&b?this.pluralResolver.getSuffix(f,i.count,{ordinal:!1}):"",S=b&&!i.ordinal&&0===i.count,O=S&&i[`defaultValue${this.options.pluralSeparator}zero`]||i[`defaultValue${_}`]||i[`defaultValue${k}`]||i.defaultValue,x=p;m&&!p&&w&&(x=O);let C=R(x),E=Object.prototype.toString.apply(x);if(m&&x&&C&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(E)&&!(n(g)&&Array.isArray(x))){if(!i.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,x,{...i,ns:u}):`key '${s} (${this.language})' returned an object instead of string.`;return o?(d.res=e,d.usedParams=this.getUsedParamsDetails(i),d):e}if(a){let e=Array.isArray(x),t=e?[]:{},r=e?y:v;for(let e in x)if(Object.prototype.hasOwnProperty.call(x,e)){let n=`${r}${a}${e}`;w&&!p?t[e]=this.translate(n,{...i,defaultValue:R(O)?O[e]:void 0,...{joinArrays:!1,ns:u}}):t[e]=this.translate(n,{...i,joinArrays:!1,ns:u}),t[e]===n&&(t[e]=x[e])}p=t}}else if(m&&n(g)&&Array.isArray(p))(p=p.join(g))&&(p=this.extendTranslation(p,e,i,r));else{let t=!1,n=!1;!this.isValidLookup(p)&&w&&(t=!0,p=O),this.isValidLookup(p)||(n=!0,p=s);let o=(i.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:p,u=w&&O!==p&&this.options.updateMissing;if(n||t||u){if(this.logger.log(u?"updateKey":"missingKey",f,l,s,u?O:p),a){let e=this.resolve(s,{...i,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,i.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(i.lng||this.language):e.push(i.lng||this.language);let r=(e,t,r)=>{let n=w&&r!==p?r:o;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,n,u,i):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,n,u,i),this.emit
1("missingKey",e,l,t,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{let t=this.pluralResolver.getSuffixes(e,i);S&&i[`defaultValue${this.options.pluralSeparator}zero`]&&0>t.indexOf(`${this.options.pluralSeparator}zero`)&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],s+t,i[`defaultValue${t}`]||O)})}):r(e,s,O))}p=this.extendTranslation(p,e,i,d,r),n&&p===s&&this.options.appendNamespaceToMissingKey&&(p=`${l}${c}${s}`),(n||t)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${c}${s}`:s,t?p:void 0,i))}return o?(d.res=p,d.usedParams=this.getUsedParamsDetails(i),d):p}extendTranslation(e,t,r,i,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){let a;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let s=n(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(s){let t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let u=r.replace&&!n(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(u={...this.options.interpolation.defaultVariables,...u}),e=this.interpolator.interpolate(e,u,r.lng||this.language||i.usedLng,r),s){let t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&i&&i.res&&(r.lng=this.language||i.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>o?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}let a=r.postProcess||this.options.postProcess,s=n(a)?[a]:a;return null!=e&&s?.length&&!1!==r.applyPostProcessor&&(e=C.handle(s,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,i,o,a,s;return n(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(r))return;let u=this.extractFromKey(e,t),l=u.key;i=l;let c=u.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let f=void 0!==t.count&&!n(t.count),h=f&&!t.ordinal&&0===t.count,d=void 0!==t.context&&(n(t.context)||"number"==typeof t.context)&&""!==t.context,p=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);
1c.forEach(e=>{this.isValidLookup(r)||(s=e,!E[`${p[0]}-${e}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&(E[`${p[0]}-${e}`]=!0,this.logger.warn(`key "${i}" for languages "${p.join(", ")}" won't get resolved as namespace "${s}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),p.forEach(n=>{let i;if(this.isValidLookup(r))return;a=n;let s=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(s,l,n,e,t);else{let e;f&&(e=this.pluralResolver.getSuffix(n,t.count,t));let r=`${this.options.pluralSeparator}zero`,i=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(s.push(l+e),t.ordinal&&0===e.indexOf(i)&&s.push(l+e.replace(i,this.options.pluralSeparator)),h&&s.push(l+r)),d){let n=`${l}${this.options.contextSeparator}${t.context}`;s.push(n),f&&(s.push(n+e),t.ordinal&&0===e.indexOf(i)&&s.push(n+e.replace(i,this.options.pluralSeparator)),h&&s.push(n+r))}}for(;i=s.pop();)this.isValidLookup(r)||(o=i,r=this.getResource(n,e,i,t))}))})}),{res:r,usedKey:i,exactUsedKey:o,usedLng:a,usedNS:s}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(e={}){let t=e.replace&&!n(e.replace),r=t?e.replace:e;if(t&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!t)for(let e of(r={...r},["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"]))delete r[e];return r}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}class D{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=S.create("languageUtils")}getScriptPartFromCode(e){if(!(e=w(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=w(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(n(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)?t:this.options.lowerCaseLng?e.toLowerCase():e}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;let n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>{if(e===n||!(0>e.indexOf("-")&&0>n.indexOf("-"))&&(e.indexOf("-")>0&&0>n.indexOf("-")&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),n(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return n(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):n(e)&&o(this.formatLanguageCode(e)),r.forEach(e
1=>{0>i.indexOf(e)&&o(this.formatLanguageCode(e))}),i}}let j={zero:0,one:1,two:2,few:3,many:4,other:5},I={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class P{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=S.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let r,n=w("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:i});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];try{r=new Intl.PluralRules(n,{type:i})}catch(i){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),I;if(!e.match(/-|_/))return I;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[o]=r,r}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return(r||(r=this.getRule("dev",t)),r)?r.resolvedOptions().pluralCategories.sort((e,t)=>j[e]-j[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){let n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}let F=(e,t,r,i=".",o=!0)=>{let a=((e,t,r)=>{let n=f(e,r);return void 0!==n?n:f(t,r)})(e,t,r);return!a&&o&&n(r)&&void 0===(a=b(e,r,i))&&(a=b(t,r,i)),a},L=e=>e.replace(/\$/g,"$$$$");class V{constructor(e={}){this.logger=S.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:i,prefixEscaped:o,suffix:a,suffixEscaped:s,formatSeparator:u,unescapeSuffix:l,unescapePrefix:c,nestingPrefix:f,nestingPrefixEscaped:h,nestingSuffix:p,nestingSuffixEscaped:y,nestingOptionsSeparator:g,maxReplaces:m,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:v,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?d(i):o||"{{",this.suffix=a?d(a):s||"}}",this.formatSeparator=u||",",this.unescapePrefix=l?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":l||"",this.nestingPrefix=f?d(f):h||d("$t("),this.nestingSuffix=p?d(p):y||d(")"),this.nestingOptionsSeparator=g||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e?.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,i){let a,s,u,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},c=e=>{if(0>e.indexOf(this.formatSeparator)){let n=F(t,l,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(n,void 0,r,{...i,...t,interpolationkey:e}):n}let n=e.split(this.formatSeparator),o=n.shift().trim(),a=n.join(this.formatSeparator).trim();return this.format(F(t,l,o,this.options.keySeparator,this.options.ignoreJSONStructure),a,r,{...i,...t,interpolationkey:o})};this.resetRegExp();let f=i?.missingInterpolationHandler||this.options.missingInterpolationHandler,h=i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>L(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?L(this.escape(e)):L(e)}].forEach(t=>{for(u=0;a=t.regex.exec(e);){let r=a[1].trim();if(void 0===(s=c(r)))if("function"==typeof f){let t=f(e,a,i);s=n(t)?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r))s="";else if(h){s=a[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),s="";else n(s)||this.useRawValueToEscape||(s=o(s));let l=t.safeValue(s);if(e=e.replace(a[0],l),h?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=a[0].length):t.regex.lastIndex=0,++u>=this.maxReplaces)break}}),e}nest(e,t,r={}){let i,a,s,u=(e,t)=>
1{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),i=`{${n[1]}`;e=n[0];let o=(i=this.interpolate(i,s)).match(/'/g),a=i.match(/"/g);((o?.length??0)%2!=0||a)&&a.length%2==0||(i=i.replace(/'/g,'"'));try{s=JSON.parse(i),t&&(s={...t,...s})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${i}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,e};for(;i=this.nestingRegexp.exec(e);){let l=[];(s=(s={...r}).replace&&!n(s.replace)?s.replace:s).applyPostProcessor=!1,delete s.defaultValue;let c=!1;if(-1!==i[0].indexOf(this.formatSeparator)&&!/{.*}/.test(i[1])){let e=i[1].split(this.formatSeparator).map(e=>e.trim());i[1]=e.shift(),l=e,c=!0}if((a=t(u.call(this,i[1].trim(),s),s))&&i[0]===e&&!n(a))return a;n(a)||(a=o(a)),a||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),a=""),c&&(a=l.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:i[1].trim()}),a.trim())),e=e.replace(i[0],a),this.regexp.lastIndex=0}return e}}let N=e=>{let t={};return(r,n,i)=>{let o=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(o={...o,[i.interpolationkey]:void 0});let a=n+JSON.stringify(o),s=t[a];return s||(s=e(w(n),i),t[a]=s),s(r)}},M=e=>(t,r,n)=>e(w(r),n)(t);class A{constructor(e={}){this.logger=S.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let r=t.cacheInBuiltFormats?N:M;this.formats={number:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=N(t)}format(e,t,r,n={}){let i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:o}=(e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);"currency"===t&&0>i.indexOf(":")?r.currency||(r.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?r.range||(r.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),o=t.trim();r[o]||(r[o]=i),"false"===i&&(r[o]=!1),"true"===i&&(r[o]=!0),isNaN(i)||(r[o]=parseInt(i,10))}})}return{formatName:t,formatOptions:r}})(t);if(this.formats[i]){let t=e;try{let a=n?.formatParams?.[n.interpolationkey]||{},s=a.locale||a.lng||n.locale||n.lng||r;t=this.formats[i](e,s,{...o,...n,...a})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}class q extends O{constructor(e,t,r,n={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=S.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){let i={},o={},a={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let a=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===o[a]&&(o[a]=!0):(this.state[a]=1,n=!1,void 0===o[a]&&(o[a]=!0),void 0===i[a]&&(i[a]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(a[e]=!0)}),(Object.keys(i).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(o),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),i=n[0],o=n[1];
1t&&this.emit("failedLoading",i,o,t),!t&&r&&this.store.addResourceBundle(i,o,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let a={};this.queue.forEach(r=>{((e,t,r,n)=>{let{obj:i,k:o}=l(e,t,Object);i[o]=i[o]||[],i[o].push(r)})(r.loaded,[i],o),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{a[e]||(a[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===a[e][t]&&(a[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,n=0,i=this.retryTimeout,o){if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:i,callback:o});this.readingCalls++;let a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(a&&s&&n<this.maxRetries)return void setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*i,o)},i);o(a,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>a(null,e)).catch(a):a(null,r)}catch(e){a(e)}return}return s(e,t,a)}prepareLoading(e,t,r={},i){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();n(e)&&(e=this.languageUtils.toResolveHierarchy(e)),n(t)&&(t=[t]);let o=this.queueLoad(e,t,r,i);if(!o.toLoad.length)return o.pending.length||i(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){let r=e.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,(r,o)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,r),!r&&o&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,o),this.loaded(e,r,o)})}saveMissing(e,t,r,n,i,o={},a=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=r&&""!==r){if(this.backend?.create){let s={...o,isUpdate:i},u=this.backend.create.bind(this.backend);if(u.length<6)try{let i;(i=5===u.length?u(e,t,r,n,s):u(e,t,r,n))&&"function"==typeof i.then?i.then(e=>a(null,e)).catch(a):a(null,i)}catch(e){a(e)}else u(e,t,r,n,a,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let Q=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),n(e[1])&&(t.defaultValue=e[1]),n(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),z=e=>(n(e.ns)&&(e.ns=[e.ns]),n(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),n(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),$=()=>{};class U extends O{constructor(e={},t){if(super(),this.options=z(e),this.services={},this.logger=S,this.modules={external:[]},(e=>
1{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})})(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(n(e.ns)?e.defaultNS=e.ns:0>e.ns.indexOf("translation")&&(e.defaultNS=e.ns[0]));let r=Q();this.options={...r,...this.options,...z(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);let o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?S.init(o(this.modules.logger),this.options):S.init(null,this.options),e=this.modules.formatter?this.modules.formatter:A;let t=new D(this.options);this.store=new x(this.options.resources,this.options);let n=this.services;n.logger=S,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new P(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),e&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(n.formatter=o(e),n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new V(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new q(o(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=o(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=o(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new T(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=$),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});let a=i(),s=()=>{let e=(e,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(r),t(e,r)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?s():setTimeout(s,0),a}loadResources(e,t=$){let r=t,i=n(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i?.toLowerCase()==="cimode"&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=i();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=$),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&C.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&0>this.languages.indexOf(e)&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;let r=i();
1this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},a=(n,i)=>{i?this.isLanguageChangingTo===e&&(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(n,(...e)=>this.t(...e))},s=t=>{e||t||!this.services.languageDetector||(t=[]);let r=n(t)?t:t&&t[0],i=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(n(t)?[t]:t);i&&(this.language||o(i),this.translator.language||this.translator.changeLanguage(i),this.services.languageDetector?.cacheUserLanguage?.(i)),this.loadResources(i,e=>{a(e,i)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e):s(this.services.languageDetector.detect()),r}getFixedT(e,t,r){let i=(e,t,...n)=>{let o,a;(o="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(n)):{...t}).lng=o.lng||i.lng,o.lngs=o.lngs||i.lngs,o.ns=o.ns||i.ns,""!==o.keyPrefix&&(o.keyPrefix=o.keyPrefix||r||i.keyPrefix);let s=this.options.keySeparator||".";return a=o.keyPrefix&&Array.isArray(e)?e.map(e=>`${o.keyPrefix}${s}${e}`):o.keyPrefix?`${o.keyPrefix}${s}${e}`:e,this.t(a,o)};return n(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=r,i}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let o=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,o);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(r,e)&&(!n||o(i,e)))}loadNamespaces(e,t){let r=i();return this.options.ns?(n(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=i();n(e)&&(e=[e]);let o=this.options.preload||[],a=e.filter(e=>0>o.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return a.length?(this.options.preload=o.concat(a),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services?.languageUtils||new D(Q())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(e={},t){return new U(e,t)}cloneInstance(e={},t=$){let r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},i=new U(n);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new x(Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),e[t]),e),{}),n),i.services.resourceStore=i.store),i.translator=new T(i.services,n),i.translator.on("*",(e,...t)=>{i.emit(e,...t)}),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let W=U.createInstance();W.createInstance=U.createInstance;let B=W.createInstance;W.dir,W.init,W.loadResources,W.reloadResources,W.use,W.changeLanguage,W.getFixedT,W.t,W.exists,W.setDefaultNamespace,W.hasLoadedNamespace,W.loadNamespaces,W.loadLanguages},33566:(e,t,r)=>{"use strict";let n;r.d(t,{DX:()=>h,yN:()=>F,LV:()=>N});var i=r(44),o=r(66278);let a=null,s={},u=1;function l(e){try{return e()}catch(e){}}let c="@wry/context:Slot",f=l(()=>globalThis)||l(()=>global)||Object.create(null),h=f[c]||Array[c]||function(e){try{Object.defineProperty(f,c,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",u++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=a;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===s)break;return e!==a&&(a.slots[this.id]=t),!0}return a&&(a.slots[this.id]=s),!1}getValue(){if(this.hasValue())return a.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=a;a={parent:o,slots:i};try{return t.apply(n,r)}finally{a=o}}static bind(e){let t=a;return function(){let r=a;try{return a=t,e.apply(this,arguments)}finally{a=r}}}static noContext(e,t,r){if(!a)return e.apply(r,t);{let n=a;try{return a=null,e.apply(r,t)}finally{a=n}}}}),{bind:d,noContext:p}=h,v=new h,{hasOwnProperty:y}=Object.prototype,g=Array.from||function(e){let t=[];
1return e.forEach(e=>t.push(e)),t};function m(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let b=[];function w(e,t){if(!e)throw Error(t||"assertion failure")}function _(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function k(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class S{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,++S.count}peek(){if(1===this.value.length&&!C(this))return O(this),this.value[0]}recompute(e){var t,r,n;return w(!this.recomputing,"already recomputing"),O(this),C(this)?(t=this,r=e,j(t),v.withValue(t,x,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{m(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,C(n)||function(e){E(e,T)}(n)),k(t.value)):k(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,E(e,R),m(this))}dispose(){this.setDirty(),j(this),E(this,(e,t)=>{e.setDirty(),I(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(g(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),b.push(this.deps),this.deps=null)}}function O(e){let t=v.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),C(e)?R(t,e):T(t,e),t}function x(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!_(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function C(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}S.count=0;function E(e,t){let r=e.parents.size;if(r){let n=g(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function R(e,t){w(e.childValues.has(t)),w(C(t));let r=!C(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),r&&E(e,R)}function T(e,t){w(e.childValues.has(t)),w(!C(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):_(r,t.value)||e.setDirty(),D(e,t),C(e)||E(e,T)}function D(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function j(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{I(e,r)}),e.forgetDeps(),w(null===e.dirtyChildren)}function I(e,t){t.parents.delete(e),e.childValues.delete(t),D(e,t)}let P={setDirty:!0,dispose:!0,forget:!0};function F(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=v.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(m(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&y.call(P,r)?r:"setDirty";g(n).forEach(e=>e[i]()),t.delete(e),m(n)}},n}function L(...e){return(n||(n=new i.b("function"==typeof WeakMap))).lookupArray(e)}let V=new Set;function N(e,{max:t=65536,keyArgs:r,makeCacheKey:n=L,normalizeResult:i,subscribe:a,cache:s=o.C}=Object.create(null)){let u="function"==typeof s?new s(t,e=>e.dispose()):s,l=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new S(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),V.add(u),v.hasValue()||(V.forEach(e=>e.clean()),V.clear()),s};function c(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function h(e){return!!e&&u.delete(e)}return Object.defineProperty(l,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(l.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:u}),l.dirtyKey=c,l.dirty=function(){c(n.apply(null,arguments))},l.peekKey=f,l.peek=function(){return f(n.apply(null,arguments))},l.forgetKey=h,l.forget=function(){return h(n.apply(null,arguments))},l.makeCacheKey=n,l.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(l)}},34846:(e,t,r)=>{"use strict";r.d(t,{D:()=>eC});var n=r(71450),i=r(23853),o=r(33566),a=r(88924),s=r(10038),u=r(12477),l=r(53537),c=r(97056),f=r(28363),h=r(55137),d=r(70554),p=r(98953),v=r(65267),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:u.v["cache.fragmentQueryDocuments"]||1e3,cache:h.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.o
1ptimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,o=e.fragment,a=e.fragmentName,s=e.from,u=e.optimistic,h=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),d=this.getFragmentDoc(o,a),y=void 0===s||"string"==typeof s?s:this.identify(s),g=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var m=a||(0,l.E4)(o).name.value;y||!1===globalThis.__DEV__||i.V1.warn(1,m)}var b=(0,n.Cl)((0,n.Cl)({},h),{returnPartialData:!0,id:y,query:d,optimistic:void 0===u||u});return new c.c(function(i){return r.watch((0,n.Cl)((0,n.Cl)({},b),{immediate:!0,callback:function(s){var u=g?(0,v.z)(s.result,o,r,a):s.result;if(!(t&&(0,p.a)(d,{data:t.result},{data:u},e.variables))){var l={data:u,complete:!!s.complete};s.missing&&(l.missing=(0,f.IM)(s.missing.map(function(e){return e.missing}))),t=(0,n.Cl)((0,n.Cl)({},s),{result:u}),i.next(l)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=d.tQ);var g=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)(a={})[s.path[u]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error),m=r(68432),b=r(42527),w=r(78764),_=r(74742),k=r(37979),S=r(11619),O=r(81186),x=r(11464),C=r(83931),E=r(64716),R=r(25433),T=r(44),D=r(83557),j=Object.prototype.hasOwnProperty;function I(e){return null==e}function P(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=I(n)?I(i)?void 0:{_id:i}:{id:n}),I(n)&&!I(i)&&(n=i),!I(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var F={dataIdFromObject:P,addTypename:!0,resultCaching:!0,canonizeResults:!1};function L(e){var t=e.canonizeResults;return void 0===t?F.canonizeResults:t}var V=/^[_a-z][_0-9a-z]*/i;function N(e){var t=e.match(V);return t?t[0]:e}function M(e){return(0,R.U)(e)&&!(0,k.A_)(e)&&!(0,D.c)(e)}function A(e,t){var r=(0,s.JG)((0,l.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var q=Object.create(null),Q=function(){return q},z=Object.create(null),$=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,E.G)((0,k.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,k.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,k.WU)(e);if((0,k.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,k.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),j.call(this.data,e)){var r=this.data[e];if(r&&j.call(r,t))return r[t]}return"__typename"===t&&j.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof B?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),j.call(this.data,e))?this.data[e]:this instanceof B?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,k.A_)(e)&&(e=e.__ref),(0,k.A_)(t)&&(t=t.__ref);
1var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new f.ZI(H).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);o||(u.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){u[e]=1;var t=N(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof B||delete s[e]}}),u.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,u=!0,l={DELETE:q,INVALIDATE:z,isReference:k.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,k.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(c){var f=N(c),h=o[c];if(void 0!==h){var d="function"==typeof t?t:t[c]||t[f];if(d){var p=d===Q?q:d((0,E.G)(h),(0,n.Cl)((0,n.Cl)({},l),{fieldName:f,storeFieldName:c,storage:r.getStorage(e,c)}));if(p===z)r.group.dirty(e,c);else if(p===q&&(p=void 0),p!==h&&(a[c]=p,s=!0,h=p,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,k.A_)(p))v(p);else if(Array.isArray(p))for(var y=!1,g=void 0,m=0,b=p;m<b.length;m++){var w=b[m];if((0,k.A_)(w)){if(y=!0,v(w))break}else"object"==typeof w&&w&&r.policies.identify(w)[0]&&(g=w);if(y&&void 0!==g){!1!==globalThis.__DEV__&&i.V1.warn(4,g);break}}}}void 0!==h&&(u=!1)}}),s)return this.merge(e,a),u&&(this instanceof B?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=Q,n):Q)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(j.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof B&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){j.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&j.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
1Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof B?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){j.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof B;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!j.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,k.A_)(e)&&(t[e.__ref]=!0),(0,R.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,R.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),U=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new T.b(O.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=N(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function W(e,t){J(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new U(void 0===n||n))||this;return o.stump=new K(o),o.storageTrie=new T.b(O.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}($||($={}));var B=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return j.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}($),K=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new U(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(B);function H(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function J(e){return!!(e instanceof $&&e.group.caching)}var Y=function(){function e(){this.known=new(O.En?WeakSet:Set),this.pool=new T.b(O.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,R.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,R.U)(e)){var t=(0,R.U)(e)?(0,D.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,R.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var u=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var l=i.object=Object.create(o);this.known.add(l),s.sorted.forEach(function(e,t){l[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function G(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var X=function(){function e(e){var t=this;this.knownResults=new(O.et?WeakMap:Map),this.config=(0,x.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:L(e)}),this.canon=e.canon||new Y,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=G(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(W(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:G,makeCacheKey:function(e,t,r,n){if(J(r.store))return r.store.makeCacheKey(e,(0,k.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return W(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(J(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new Y},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,f=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,l.wY)((0,l.AT)(i))),a);var h=(0,k.WU)(void 0===o?"ROOT_QUERY":o),d=this.executeSelectionSet({selectionSet:(0,l.Vn)(i).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,n.Cl)({store:r,query:i,policies:f,variables:a,varString:(0,w.M)(a),canonizeResults:c},A(i,this.config.fragments))});if(d.missing&&(t=[new g(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(d.missing),d.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:d.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(J(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,u=e.context;if((0,k.A_)(o)&&!u.policies.rootTypenamesById[o.__ref]&&!u.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var l=u.variables,c=u.policies,h=u.store.getFieldValue(o,"__typename"),d=[],p=new f.ZI;function v(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof h&&!c.rootIdsByTypename[h]&&d.push({__typename:h});var y=new Set(n.selections);
1y.forEach(function(e){var n,f;if((0,C.MS)(e,l))if((0,k.dt)(e)){var g=c.readField({fieldName:e.name.value,field:e,variables:u.variables,from:o},u),m=(0,k.ue)(e);void 0===g?b.XY.added(e)||(t=p.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat((0,k.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,D.c)(g)?g.length>0&&(g=v(r.executeSubSelectedArray({field:e,array:g,enclosingRef:a,context:u}),m)):e.selectionSet?null!=g&&(g=v(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,k.A_)(g)?g:a,context:u}),m)):u.canonizeResults&&(g=r.canon.pass(g)),void 0!==g&&d.push(((f={})[m]=g,f))}else{var w=(0,s.HQ)(e,u.lookupFragment);if(!w&&e.kind===S.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);w&&c.fragmentMatches(w,h)&&w.selectionSet.selections.forEach(y.add,y)}});var g={result:(0,f.IM)(d),missing:t},m=u.canonizeResults?this.canon.admit(g):(0,E.G)(g);return m.result&&this.knownResults.set(m.result,n),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new f.ZI;function l(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,D.c)(e)?l(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?l(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,k.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,R.U)(r)&&((0,i.V1)(!(0,k.A_)(r),11,(0,k.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),Z=r(29846),ee=r(69451),et=r(53691),er=Object.create(null);function en(e){var t=JSON.stringify(e);return er[t]||(er[t]=Object.create(null))}function ei(e){var t=en(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=ea(e,function(e){var o=eu(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&j.call(t,e[0])&&(o=eu(t,e,es)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function eo(e){var t=en(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(ea(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,D.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&(0,k.MB)(s,i);return u&&eu(u,e.slice(1))}return}if("$"===o){var l=r.slice(1);if(i&&j.call(i,l)){var c=e.slice(0);return c[0]=l,eu(i,c)}return}if(t)return eu(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function ea(e,t){var r=new f.ZI;return(function e(t){var r=en(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,D.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,D.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function es(e,t){return e[t]}function eu(e,t,r){return r=r||es,function e(t){return(0,R.U)(t)?(0,D.c)(t)?t.map(e):ea(Object.keys(t).sort(),function(e){return eu(t,e)}):t}(t.reduce(function e(t,n){return(0,D.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var el=r(79312);function ec(e){return void 0!==e.args?e.args:e.field?(0,k.MB)(e.field,e.variables):null}var ef=function(){},eh=function(e,t){return t.fieldName},ed=function(e,t,r){return(0,r.mergeObjects)(e,t)},ep=function(e,t){return t},ev=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:P},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=eg(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),c=l&&l.keyFn||this.config.dataIdFromObject;return el.yV.withValue(!0,function(){for(;c;){var t=c((0,n.Cl)((0,n.Cl)({},e),s),u);if((0,D.c)(t))c=ei(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,u=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),j.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ed:!1===t?ep:e.merge}a(n,t.merge),n.keyFn=!1===i?ef:(0,D.c)(i)?ei(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===s?eh:(0,D.c)(s)?eo(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||eh)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(V);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!j.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),u=[s],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},c=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<u.length;++h){var d=u[h];if(d.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;d.forEach(l),c&&h===u.length-1&&function e(t,r,n){return!!(0,R.U)(r)&&((0,D.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,k.dt)(t)&&(0,C.MS)(t,n)){var i=(0,k.ue)(t);return j.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(c=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=ec(e);o;){var u=o(s,a);if((0,D.c)(u))o=eo(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,k.Ii)(e.field,e.variables):(0,k.o5)(n,ec(e))),!1===t)?n:n===N(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=N(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var l=ey(this,r,e,t,t.store.getStorage((0,k.A_)(r)?r.__ref:r,i));return et.bl.withValue(this.cache,u,[a,l])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ed?em(n.store)(e,t):s===ep?t:(n.overwrite&&(e=void 0),s(e,t,ey(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ey(e,t,r,n,i){var o=e.getStoreFieldName(r),a=N(o),s=r.variables||n.variables,u=n.store,l=u.toReference,c=u.canRead;return{args:ec(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:k.A_,toReference:l,storage:i,cache:e.cache,canRead:c,readField:function(){return e.readField(eg(arguments,t,s),n)},mergeObjects:em(n.store)}}function eg(e,t,r){var o,a=e[0],s=e[1],u=e.length;return"string"==typeof a?o={fieldName:a,from:u>1?s:t}:(o=(0,n.Cl)({},a),j.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,ee.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function em(e){return function(t,r){if((0,D.c)(t)||(0,D.c)(r))throw(0,i.vA)(9);if((0,R.U)(t)&&(0,R.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,k.A_)(t)&&M(r))return e.merge(t.__ref,r),t;if(M(t)&&(0,k.A_)(r))return e.merge(t,r.__ref),r;if(M(t)&&M(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function eb(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var ew=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,u=t.dataId,c=t.variables,h=t.overwrite,d=(0,l.Vu)(o),p=new f.ZI;c=(0,n.Cl)((0,n.Cl)({},(0,l.wY)(d)),c);var v=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:c,varString:(0,w.M)(c)},A(o,this.fragments)),{overwrite:!!h,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:d.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,k.A_)(y))throw(0,i.vA)(12,s);
1return v.incomingById.forEach(function(t,o){var s=t.storeObject,u=t.mergeTree,l=t.fieldNodeSet,c=(0,k.WU)(o);if(u&&u.map.size){var f=r.applyMerges(u,c,s,v);if((0,k.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var h=Object.create(null);l.forEach(function(e){e.selectionSet&&(h[e.name.value]=!0)});var d=function(e){var t=u&&u.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==h[N(e)]||d(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},u=s(e);if(u){var l=s(t);if(!(!l||(0,k.A_)(u)||(0,a.L)(u,l)||Object.keys(u).every(function(e){return void 0!==o.getFieldValue(l,e)}))){var c=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=N(r),h="".concat(c,".").concat(f);if(!ex.has(h)){ex.add(h);var d=[];(0,D.c)(u)||(0,D.c)(l)||[u,l].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)}),!1!==globalThis.__DEV__&&i.V1.warn(15,f,c,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",h,(0,n.Cl)({},u),(0,n.Cl)({},l))}}}}(c,s,e,v.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,l=this.cache.policies,c=Object.create(null),f=r&&l.rootTypenamesById[r]||(0,k.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(c.__typename=f);var h=function(){var e=eg(arguments,c,s.variables);if((0,k.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=l.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return l.readField(e,s)},d=new Set;this.flattenFields(a,o,s,f).forEach(function(e,r){var n,a=o[(0,k.ue)(r)];if(d.add(r),void 0!==a){var s=l.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),p=ek(u,s),v=t.processFieldValue(a,r,r.selectionSet?eb(e,!1,!1):e,p),y=void 0;r.selectionSet&&((0,k.A_)(v)||M(v))&&(y=h("__typename",v));var g=l.getMergeFunction(f,r.name.value,y);g?p.info={field:r,typename:f,merge:g}:eO(u,s),c=e.merge(c,((n={})[s]=v,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||b.XY.added(r)||l.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||i.V1.error(13,(0,k.ue)(r),o)});try{var p=l.identify(o,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:c,readField:h}),v=p[0],y=p[1];r=r||v,y&&(c=s.merge(c,y))}catch(e){if(!r)throw e}if("string"==typeof r){var g=(0,k.WU)(r),m=s.written[r]||(s.written[r]=[]);if(m.indexOf(a)>=0||(m.push(a),this.reader&&this.reader.isFresh(o,g,a,s)))return g;var w=s.incomingById.get(r);return w?(w.storeObject=s.merge(w.storeObject,c),w.mergeTree=function e(t,r){if(t===r||!r||eS(r))return t;if(!t||eS(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(w.mergeTree,u),d.forEach(function(e){return w.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:c,mergeTree:eS(u)?void 0:u,fieldNodeSet:d}),g}return c},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,D.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,ek(n,o));return eO(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,Z.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,k.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,u=new T.b(!1);return!function e(l,c){var f=u.lookup(l,c.clientOnly,c.deferred);f.visited||(f.visited=!0,l.selections.forEach(function(u){if((0,C.MS)(u,r.variables)){var l=c.clientOnly,f=c.deferred;if(!(l&&f)&&(0,D.E)(u.directives)&&u.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(l=!0),"defer"===t){var n=(0,k.MB)(e,r.variables);n&&!1===n.if||(f=!0)}}),(0,k.dt)(u)){var h=o.get(u);h&&(l=l&&h.clientOnly,f=f&&h.deferred),o.set(u,eb(r,l,f))}else{var d=(0,s.HQ)(u,r.lookupFragment);if(!d&&u.kind===S.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,u.name.value);d&&a.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,eb(r,l,f))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,k.A_)(r)){var u,l,c=!(0,D.c)(r)&&((0,k.A_)(t)||M(t))?t:void 0,f=r;c&&!a&&(a=[(0,k.A_)(c)?c.__ref:c]);var h=function(e,t){return(0,D.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=h(c,t),n=h(f,t);if(void 0!==n){a&&a.push(t);var u=s.applyMerges(e,r,n,o,a);u!==n&&(l=l||new Map).set(t,u),a&&(0,i.V1)(a.pop()===t)}}),l&&(r=(0,D.c)(f)?f.slice(0):(0,n.Cl)({},f),l.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(u=o.store).getStorage.apply(u,a)):r},e}(),e_=[];function ek(e,t){var r=e.map;return r.has(t)||r.set(t,e_.pop()||{map:new Map}),r.get(t)}function eS(e){return!e||!(e.info||e.map.size)}function eO(e,t){var r=e.map,n=r.get(t);n&&eS(n)&&(e_.push(n),r.delete(t))}var ex=new Set,eC=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new m.c(b.XY),n.assumeImmutableResults=!0,n.makeVar=et.UT,n.txCount=0,r=t,n.config=(0,x.o)(F,r),n.addTypename=!!n.config.addTypename,n.policies=new ev({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new $.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 ew(this,this.storeReader=new X({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:L(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||u.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(J(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,w.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof g)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(j.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,et.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,et.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){w.M.reset(),_.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,k.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(j.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),w.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,et.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,l=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},c=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,l):!1===a?l(this.data):l(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&c.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&c.delete(e),r}})),c.size&&c.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(y);!1!==globalThis.__DEV__&&(eC.prototype.getMemoryInternals=d.cM)},36427:(e,t,r)=>{"use strict";r.d(t,{X:()=>u});var n=r(71450),i=r(23853),o=r(82855),a=r.t(o,2),s=r(81186).ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__",u=function(e){var t,r=e.client,u=e.children,l=((0,i.V1)("createContext"in a,54),(t=o.createContext[s])||(Object.defineProperty(o.createContext,s,{value:t=o.createContext({}),enumerable:!1,writable:!1,configurable:!0}),t.displayName="ApolloContext"),t),c=o.useContext(l),f=o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},c),{client:r||c.client})},[c,r]);return(0,i.V1)(f.client,55),o.createElement(l.Provider,{value:f},u)}},37979:(e,t,r)=>{"use strict";r.d(t,{A_:()=>u,D$:()=>function e(t,r,n){for(var i,a=0,s=r.selections;a<s.length;a++){var u=s[a];if(g(u)){if("__typename"===u.name.value)return t[y(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var l=0,c=i;l<c.length;l++){var u=c[l],f=e(t,(0,o.HQ)(u,n).selectionSet,n);if("string"==typeof f)return f}},Ii:()=>f,J:()=>c,Kc:()=>l,MB:()=>v,WU:()=>s,dt:()=>g,kd:()=>m,o5:()=>p,ue:()=>y});var n=r(23853),i=r(25433),o=r(10038),a=r(78764);function s(e){return{__ref:String(e)}}function u(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function l(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return c(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return c(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw(0,n.vA)(96,t.value,r.kind)}function f(e,t){var r=null;e.directives&&(r={}
1,e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return c(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return c(n,r,i,t)})),p(e.name.value,n,r)}var h=["connection","include","skip","client","rest","export","nonreactive"],d=a.M,p=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(d(i),")")}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===h.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(d(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=d;return d=e,t}});function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return c(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function g(e){return"Field"===e.kind}function m(e){return"InlineFragment"===e.kind}},41402:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return m},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return y}});let n=r(28140),i=r(49417),o=r(95155),a=n._(r(47650)),s=i._(r(12115)),u=r(82073),l=r(94681),c=r(4853),f=r(29001),h=new Map,d=new Set,p=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:o,children:s="",strategy:u="afterInteractive",onError:c,stylesheets:f}=e,p=r||t;if(p&&d.has(p))return;if(h.has(t)){d.add(p),h.get(t).then(n,c);return}let v=()=>{i&&i(),d.add(p)},y=document.createElement("script"),g=new Promise((e,t)=>{y.addEventListener("load",function(t){e(),n&&n.call(this,t),v()}),y.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});o?(y.innerHTML=o.__html||"",v()):s?(y.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):"",v()):t&&(y.src=t,h.set(t,g)),(0,l.setAttributesFromProps)(y,e),"worker"===u&&y.setAttribute("type","text/partytown"),y.setAttribute("data-nscript",u),f&&(e=>{if(a.default.preinit)return e.forEach(e=>{a.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}})(f),document.body.appendChild(y)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function y(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");d.add(t)})}function g(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:l="afterInteractive",onError:h,stylesheets:v,...y}=e,{updateScripts:g,scripts:m,getIsSsr:b,appDir:w,nonce:_}=(0,s.useContext)(u.HeadManagerContext);_=y.nonce||_;let k=(0,s.useRef)(!1);(0,s.useEffect)(()=>{let e=t||r;k.current||(i&&e&&d.has(e)&&i(),k.current=!0)},[i,t,r]);let S=(0,s.useRef)(!1);if((0,s.useEffect)(()=>{if(!S.current){if("afterInteractive"===l)p(e);else"lazyOnload"===l&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}));S.current=!0}},[e,l]),("beforeInteractive"===l||"worker"===l)&&(g?(m[l]=(m[l]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:h,...y,nonce:_}]),g(m)):b&&b()?d.add(t||r):b&&!b()&&p({...e,nonce:_})),w){if(v&&v.forEach(e=>{a.default.preinit(e,{as:"style"})}),"beforeInteractive"===l)if(!r)return y.dangerouslySetInnerHTML&&(y.children=y.dangerouslySetInnerHTML.__html,delete y.dangerouslySetInnerHTML),(0,o.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,f.htmlEscapeJsonString)(JSON.stringify([0,{...y,id:t}]))+")"}});else return a.default.preload(r,y.integrity?{as:"script",integrity:y.integrity,nonce:_,crossOrigin:y.crossOrigin}:{as:"script",nonce:_,crossOrigin:y.crossOrigin}),(0,o.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,f.htmlEscapeJsonString)(JSON.stringify([r,{...y,id:t}]))+")"}});"afterInteractive"===l&&r&&a.default.preload(r,y.integrity?{as:"script",integrity:y.integrity,nonce:_,crossOrigin:y.crossOrigin}:{as:"script",nonce:_,crossOrigin:y.crossOrigin})}return null}Object.defineProperty(g,"__nextScript",{value:!0});let m=g;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},42527:(e,t,r)=>{"use strict";r.d(t,{XY:()=>p,er:()=>y,iz:()=>d,x3:()=>g,zc:()=>v});var n=r(71450),i=r(23853),o=r(11619),a=r(50424),s=r(53537),u=r(37979),l=r(10038),c=r(83557),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function d(e,t){(0,s.sw)(t);for(var r,u,f,d=h(""),p=h(""),v=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,c.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return d(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return p(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(97),null},y=0,g=t.definitions.length-1;g>=0;--g)t.definitions[g].kind===o.b.OPERATION_DEFINITION&&++y;var m=(r=new Map,u=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&u.size&&u.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,c.E)(e)&&e.map(m).some(function(e){return e&&e.remove})},w=new Map,_=!1,k={enter:function(e){if(b(e.directives))return _=!0,null}},S=(0,a.YR)(t,{Field:k,InlineFragment:k,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=v(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return _=!0,null;var o=v(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){w.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===w.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(p(e.name.value).removed=!0,_=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return _=!0,null}}});if(!_)return t;var O=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){O(p(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},x=new Set;S.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?O(d(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){x.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||p(e.name.value).removed||x.add(e.name.value)}),x.forEach(function(e){O(p(e)).fragmentSpreads.forEach(function(e){x.add(e)})});var C={enter:function(e){var t;if(t=e.name.value,!x.has(t)||p(t).removed)return null}};return f=(0,a.YR)(S,{FragmentSpread:C,FragmentDefinition:C,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=O(d(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(f)||(0,s.E4)(f),(0,l.JG)((0,s.zK)(f)))?f:null}var p=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}});function v(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function y(e){return(0,s.sw)(e),d([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function g(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
1],!1)})}})}},44386:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var n=function(e){return{type:"backend",init:function(e,t,r){},read:function(t,r,n){if("function"==typeof e){if(e.length<3){try{var i=e(t,r);i&&"function"==typeof i.then?i.then(function(e){return n(null,e&&e.default||e)}).catch(n):n(null,i)}catch(e){n(e)}return}e(t,r,n);return}n(null,e&&e[t]&&e[t][r])}}}},47380:e=>{e.exports={style:{fontFamily:"'Geist Mono', 'Geist Mono Fallback'",fontStyle:"normal"},className:"__className_c29908",variable:"__variable_c29908"}},50424:(e,t,r)=>{"use strict";r.d(t,{YR:()=>u,sP:()=>s});var n=r(40391),i=r(48872),o=r(35570),a=r(11619);let s=Object.freeze({});function u(e,t,r=o.aD){let l,c,f,h=new Map;for(let e of Object.values(a.b))h.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let d=Array.isArray(e),p=[e],v=-1,y=[],g=e,m=[],b=[];do{var w,_,k;let e,a=++v===p.length,u=a&&0!==y.length;if(a){if(c=0===b.length?void 0:m[m.length-1],g=f,f=b.pop(),u)if(d){g=g.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(g.splice(n,1),e++):g[n]=r}}else for(let[e,t]of(g={...g},y))g[e]=t;v=l.index,p=l.keys,y=l.edits,d=l.inArray,l=l.prev}else if(f){if(null==(g=f[c=d?v:p[v]]))continue;m.push(c)}if(!Array.isArray(g)){(0,o.Ll)(g)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(g)}.`);let r=a?null==(w=h.get(g.kind))?void 0:w.leave:null==(_=h.get(g.kind))?void 0:_.enter;if((e=null==r?void 0:r.call(t,g,c,f,m,b))===s)break;if(!1===e){if(!a){m.pop();continue}}else if(void 0!==e&&(y.push([c,e]),!a))if((0,o.Ll)(e))g=e;else{m.pop();continue}}void 0===e&&u&&y.push([c,g]),a?m.pop():(l={inArray:d,index:v,keys:p,edits:y,prev:l},p=(d=Array.isArray(g))?g:null!=(k=r[g.kind])?k:[],v=-1,y=[],f&&b.push(f),f=g)}while(void 0!==l);return 0!==y.length?y[y.length-1][1]:e}},50660:e=>{e.exports={style:{fontFamily:"'Geist', 'Geist Fallback'",fontStyle:"normal"},className:"__className_246ccd",variable:"__variable_246ccd"}},53537:(e,t,r)=>{"use strict";r.d(t,{AT:()=>l,E4:()=>c,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>h,zK:()=>u});var n=r(23853),i=r(37979);function o(e){(0,n.V1)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(89,e.kind);return e});return(0,n.V1)(t.length<=1,90,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function l(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,91),t}function c(e){(0,n.V1)("Document"===e.kind,92),(0,n.V1)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,94),t}function f(e){o(e);for(var t,r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(95)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},53691:(e,t,r)=>{"use strict";r.d(t,{MS:()=>u,UT:()=>l,WR:()=>s,bl:()=>i});var n=r(33566),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function l(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var l=i.getValue();l&&(o(l),a(l).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},55137:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
1,o="undefined"!=typeof WeakMap?WeakMap:Map,a="undefined"!=typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:n,unregister:n}};class s{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new o,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new i(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new a(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}},59794:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>l,Mn:()=>s,uR:()=>a});var n=r(71450);r(23853);var i=r(25433),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){var t=(0,n.fX)((0,n.fX)((0,n.fX)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&t.push(e.networkError),t.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")},l=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,l=r.errorMessage,c=r.extraInfo,f=e.call(this,l)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=l||u(f),f.extraInfo=c,f.cause=(0,n.fX)((0,n.fX)((0,n.fX)([s],i||[],!0),o||[],!0),a||[],!0).find(function(e){return!!e})||null,f.__proto__=t.prototype,f}return(0,n.C6)(t,e),t}(Error)},61491:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},64716:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(25433);function i(e){var t;return!1!==globalThis.__DEV__&&(t=new Set([e])).forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}},65267:(e,t,r)=>{"use strict";r.d(t,{z:()=>c});var n=r(11619),i=r(79312),o=r(23853),a=r(88924),s=r(14762),u=r(10038),l=r(53537);function c(e,t,r,c){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter(function(e){return e.kind===n.b.FRAGMENT_DEFINITION});void 0===c&&((0,o.V1)(1===f.length,49,f.length),c=f[0].name.value);var h=f.find(function(e){return e.name.value===c});return((0,o.V1)(!!h,50,c),null==e||(0,a.A)(e,{}))?e:(0,s.S)(e,h.selectionSet,{operationType:"fragment",operationName:h.name.value,fragmentMap:(0,u.JG)((0,l.zK)(t)),cache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},66260:(e,t,r)=>{"use strict";r.d(t,{Nw:()=>u,ST:()=>a,YX:()=>s,bd:()=>l});var n=r(25433),i=r(83557),o=r(28363);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function u(e){return(0,n.U)(e)&&"payload"in e}function l(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}
1r=n.merge(r,t)}),r}},66278:(e,t,r)=>{"use strict";function n(){}r.d(t,{C:()=>i});class i{constructor(e=1/0,t=n){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{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){let 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)}}},68321:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(41402),i=r.n(n)},68432:(e,t,r)=>{"use strict";r.d(t,{c:()=>f});var n=r(44),i=r(81186),o=r(53537),a=r(23853),s=r(55137),u=r(33566),l=r(12477);function c(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(c,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,u.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),77),r.lookupArray(n)},max:l.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},69451:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(61491);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},70554:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>l});var n=r(71450),i=r(12477),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.v[t]||r]})),sizes:(0,n.Cl)({print:null==(e=o.print)?void 0:e.call(o),parser:null==(t=o.parser)?void 0:t.call(o),canonicalStringify:null==(r=o.canonicalStringify)?void 0:r.call(o),links:function e(t){var r;return t?(0,n.fX)((0,n.fX)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:d(this.queryManager.documentTransform)}},null==(s=(a=this.cache).getMemoryInternals)?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},c.apply(this)),{addTypenameDocumentTransform:d(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,l=!1!==globalThis.__DEV__?c:void 0;function c(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function h(e){return null!=e}function d(e){return(function e(t){return t?(0,n.fX)((0,n.fX)([f(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(h):[]})(e).map(function(e){return{cache:e}})}},74742:(e,t,r)=>{"use strict";r.d(t,{y:()=>m});var n,i=r(92498);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\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"];var u=r(50424);let l={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>c(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h("(",c(e.variableDefinitions,", "),")"),r=c([e.operation,c([e.name,t]),c(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",c(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}
1){let o=h("",e,": ")+t,a=o+h("(",c(r,", "),")");return a.length>80&&(a=o+h("(\n",d(c(r,"\n")),"\n)")),c([a,c(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",c(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>c(["...",h("on ",e),c(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",c(r,", "),")")} on ${t} ${h("",c(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.yo)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+c(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+c(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",c(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+c(["schema",c(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+c(["scalar",t,c(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+c(["type",t,h("implements ",c(r," & ")),c(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(p(r)?h("(\n",d(c(r,"\n")),"\n)"):h("(",c(r,", "),")"))+": "+n+h(" ",c(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+c([t+": "+r,h("= ",n),c(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+c(["interface",t,h("implements ",c(r," & ")),c(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+c(["union",t,c(r," "),h("= ",c(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+c(["enum",t,c(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+c([t,c(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+c(["input",t,c(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(p(r)?h("(\n",d(c(r,"\n")),"\n)"):h("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>c(["extend schema",c(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>c(["extend scalar",e,c(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend type",e,h("implements ",c(t," & ")),c(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>c(["extend interface",e,h("implements ",c(t," & ")),c(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>c(["extend union",e,c(t," "),h("= ",c(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>c(["extend enum",e,c(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>c(["extend input",e,c(t," "),f(r)]," ")}};function c(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function f(e){return h("{\n",d(c(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function d(e){return h("  ",e.replace(/\n/g,"\n  "))}function p(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var v=r(83502),y=r(12477),g=r(70554),m=Object.assign(function(e){var t=n.get(e);return t||(t=(0,u.YR)(e,l),n.set(e,t)),t},{reset:function(){n=new v.A(y.v.print||2e3)}});m.reset(),!1!==globalThis.__DEV__&&(0,g.D_)("print",function(){return n?n.size:0})},78764:(e,t,r)=>{"use strict";r.d(t,{M:()=>s});
1var n,i=r(83502),o=r(12477),a=r(70554),s=Object.assign(function(e){return JSON.stringify(e,u)},{reset:function(){n=new i.V(o.v.canonicalStringify||1e3)}});function u(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var i=Object.keys(t);if(i.every(l))return t;var o=JSON.stringify(i),a=n.get(o);if(!a){i.sort();var s=JSON.stringify(i);a=n.get(s)||i,n.set(o,a),n.set(s,a)}var u=Object.create(r);return a.forEach(function(e){u[e]=t[e]}),u}}return t}function l(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,a.D_)("canonicalStringify",function(){return n.size}),s.reset()},79312:(e,t,r)=>{"use strict";r.d(t,{Ki:()=>c,jq:()=>a,xm:()=>s,yV:()=>u});var n=r(33566),i=r(23853),o=r(81186),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,u=new n.DX,l=!1;function c(){l||(l=!0,!1!==globalThis.__DEV__&&i.V1.warn(52))}},81186:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,et:()=>o,ol:()=>s,uJ:()=>u});var n=r(23853),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"==typeof WeakMap&&!(i&&!global.HermesInternal),a="function"==typeof WeakSet,s="function"==typeof Symbol&&"function"==typeof Symbol.for,u=s&&Symbol.asyncIterator;(0,n.no)(function(){return window.document.createElement}),(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},82855:(e,t,r)=>{"use strict";e.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,e.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,e.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(e.exports,r(12115))},83502:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>u});var n=r(55137),i=r(66278),o=new WeakSet;function a(e){!(e.size<=(e.max||-1))&&(o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100)))}var s=function(e,t){var r=new n.l(e,t);return r.set=function(e,t){var r=n.l.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new i.C(e,t);return r.set=function(e,t){var r=i.C.prototype.set.call(this,e,t);return a(this),r},r}},83557:(e,t,r)=>{"use strict";r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},83931:(e,t,r)=>{"use strict";r.d(t,{MS:()=>a,d8:()=>s,f2:()=>u,s7:()=>l});var n=r(23853),i=r(50424),o=r(11619);function a(e,t){var r,i,o=e.directives;return!o||!o.length||(i=[],(r=o)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,o=e.name.value;(0,n.V1)(r&&1===r.length,79,o);var a=r[0];(0,n.V1)(a.name&&"if"===a.name.value,80,o);var s=a.value;(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,o),i.push({directive:e,ifArgument:a})}}),i).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,78,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function u(e){return e&&s(["client","export"],e,!0)}function l(e){var t,r,i=null==(t=e.directives)?void 0:t.find(function(e){return"unmask"===e.name.value});if(!i)return"mask";var a=null==(r=i.arguments)?void 0:r.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&a&&(a.value.kind===o.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(82):a.value.kind!==o.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(83):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(84,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value)?"migrate":"unmask"}},88924:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,L:()=>s});let{toString:n,hasOwnProperty:i}=Object.prototype,o=Function.prototype.toString,a=new Map;function s(e,t){try{return function e(t,r){if(t===r)return!0;let a=n.call(t);if(a!==n.call(r))return!1;switch(a){case"[object Array]":if(t.length!==r.length)break;case"[object Object]":{if(h(t,r))return!0;let n=l(t),o=l(r),a=n.length;if(a!==o.length)return!1;for(let e=0;e<a;++e)if(!i.call(r,n[e]))return!1;for(let i=0;i<a;++i){let o=n[i];if(!e(t[o],r[o]))return!1}return!0}case"[object Error]":return t.name===r.name&&t.message===r.message;case"[object Number]":if(t!=t)return r!=r;case"[object Boolean]":case"[object Date]":return+t==+r;case"[object RegExp]":case"[object String]":return t==`${r}`;case"[object Map]":case"[object Set]":{if(t.size!==r.size)return!1;if(h(t,r))return!0;let n=t.entries(),i="[object Map]"===a;for(;;){let t=n.next();if(t.done)break;let[o,a]=t.value;if(!r.has(o)||i&&!e(a,r.get(o)))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]":t=new Uint8Array(t),r=new Uint8Array(r);case"[object DataView]":{let e=t.byteLength;if(e===r.byteLength)for(;e--&&t[e]===r[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{let e=o.call(t);if(e!==o.call(r))return!1;return!function(e,t){let r=e.length-t.length;return r>=0&&e.indexOf(t,r)===r}(e,f)}}return!1}(e,t)}finally{a.clear()}}let u=s;function l(e){return Object.keys(e).filter(c,e)}function c(e){return void 0!==this[e]}let f="{ [native code] }";function h(e,t){let r=a.get(e);if(r){if(r.has(t))return!0}else a.set(e,r=new Set);return r.add(t),!1}},91660:(e,t,r)=>{"use strict";r.d(t,{R:()=>eh});var n,i=r(71450),o=r(23853),a=r(22180),s=a.C.execute,u=r(97410),l=r(10248),c=r(88924),f=r(66260),h=r(83931),d=r(42527),p=r(10038),v=r(78764),y=r(68432),g=r(97056);function m(e,t,r){return new g.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var b=r(83557);function w(e){var t=_(e);return(0,b.E)(t)}function _(e){var t=(0,b.E)(e.errors)?e.errors.slice(0):[];return(0,f.ST)(e)&&(0,b.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var k=r(53537),S=r(37979),O=r(25433),x=r(61491);function C(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
1),n.forEach(function(e){return e[t](r)})}var E=r(81186);function R(e){function t(t){Object.defineProperty(e,t,{value:g.c})}return E.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function T(e){return e&&"function"==typeof e.then}var D=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),C(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),C(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?T(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),C(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new g.c(t)]),T(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,i.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(g.c);R(D);var j=r(59794);function I(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}));var P=r(11464),F=r(29846),L=r(98953),V=r(33566),N=Object.assign,M=Object.hasOwnProperty,A=function(e){function t(r){var n=r.queryManager,o=r.queryInfo,a=r.options,s=this,u=t.inactiveOnCreation.getValue();(s=e.call(this,function(e){u&&(n.queries.set(s.queryId,o),u=!1);try{var t=e._subscription._observer;t&&!t.error&&(t.error=q)}catch(e){}var r=!s.observers.size;s.observers.add(e);var i=s.last;return i&&i.error?e.error&&e.error(i.error):i&&i.result&&e.next&&e.next(s.maskResult(i.result)),r&&s.reobserve().catch(function(){}),function(){s.observers.delete(e)&&!s.observers.size&&s.tearDownQuery()}})||this).observers=new Set,s.subscriptions=new Set,s.dirty=!1,s.queryInfo=o,s.queryManager=n,s.waitForOwnResult=z(a.fetchPolicy),s.isTornDown=!1,s.subscribeToMore=s.subscribeToMore.bind(s),s.maskResult=s.maskResult.bind(s);var l=n.defaultOptions.watchQuery,c=(void 0===l?{}:l).fetchPolicy,f=void 0===c?"cache-first":c,h=a.fetchPolicy,d=void 0===h?f:h,p=a.initialFetchPolicy,v=void 0===p?"standby"===d?f:d:p;s.options=(0,i.Cl)((0,i.Cl)({},a),{initialFetchPolicy:v,fetchPolicy:d}),s.queryId=o.queryId||n.generateQueryId();var y=(0,k.Vu)(s.query);return s.queryName=y&&y.name&&y.name.value,s}return(0,i.C6)(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(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||n.ready,o=(0,i.Cl)((0,i.Cl)({},t),{loading:I(r),networkStatus:r}),a=this.options.fetchPolicy,s=void 0===a?"cache-first":a;if(z(s)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var u=this.queryInfo.getDiff();(u.complete||this.options.returnPartialData)&&(o.data=u.result),(0,c.L)(o.data,{})&&(o.data=void 0),u.complete?(delete o.partial,u.complete&&o.networkStatus===n.loading&&("cache-first"===s||"cache-only"===s)&&(o.networkStatus=n.ready,o.loading=!1)):o.partial=!0,o.networkStatus===n.ready&&(o.error||o.errors)&&(o.networkStatus=n.error),!1===globalThis.__DEV__||u.complete||this.options.partialRefetch||o.loading||o.data||o.error||Q(u.missing)}return e&&this.updateLastResult(o),o},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,L.a)(i,this.last.result,e,this.variables):!(0,c.L)(this.last.result,e))||t&&!(0,c.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,c.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0};if("no-cache"===this.options.fetchPolicy?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&M.call(e,"variables")){var a=(0,k.AT)(this.query),s=a.variableDefinitions;s&&s.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||o.V1.warn(21,e,(null==(t=a.name)?void 0:t.value)||a)}return e&&!(0,c.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,i.Cl)((0,i.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,n.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,i.Cl)((0,i.Cl)({},e.query?e:(0,i.Cl)((0,i.Cl)((0,i.Cl)((0,i.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,i.Cl)((0,i.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var a=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,u=s.networkStatus;s.networkStatus=n.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var l=new Set,c=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,o.V1)(c,22),this.queryManager.fetchQuery(a,r,n.fetchMore).then(function(o){if
1(t.queryManager.removeQuery(a),s.networkStatus===n.fetchMore&&(s.networkStatus=u),f)t.queryManager.cache.batch({update:function(n){var i=e.updateQuery;i?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:o.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:o.data})},onWatchUpdated:function(e){l.add(e.query)}});else{var h=t.getLast("result"),d=c(h.data,{fetchMoreResult:o.data,variables:r.variables});t.reportResult((0,i.Cl)((0,i.Cl)({},h),{networkStatus:u,loading:I(u),data:d}),t.variables)}return t.maskResult(o)}).finally(function(){f&&!l.has(t.query)&&t.reobserveCacheFirst()})},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){return n(e,(0,i.Cl)({subscriptionData:r},t))})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&o.V1.error(23,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,P.o)(this.options,e||{});N(this.options,t)},t.prototype.setVariables=function(e){return(0,c.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},n.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this.queryManager.getOrCreateQuery(this.queryId);return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,o.V1)(r,24),(t||(this.pollingInfo={})).interval=r;var i=function(){var t,r;e.pollingInfo&&(I(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?a():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},n.poll).then(a,a))},a=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(i,t.interval))};a()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,c.L)(t,this.last.variables)&&(r=void 0),this.last=(0,i.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,F.m)(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var o=t===n.refetch||t===n.fetchMore||t===n.poll,a=this.options.variables,s=this.options.fetchPolicy,u=(0,P.o)(this.options,e||{}),l=o?u:N(this.options,u),f=this.transformDocument(l.query);this.lastQuery=f,!o&&(this.updatePolling(),e&&e.variables&&!(0,c.L)(e.variables,a)&&"standby"!==l.fetchPolicy&&(l.fetchPolicy===s||"function"==typeof l.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",l),void 0===t&&(t=n.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=z(l.fetchPolicy));var h=function(){r.concast===v&&(r.waitForOwnResult=!1)},d=l.variables&&(0,i.Cl)({},l.variables),p=this.fetch(l,t,f),v=p.concast,y=p.fromLink,g={next:function(e){(0,c.L)(r.variables,d)&&(h(),r.reportResult(e,d))},error:function(e){(0,c.L)(r.variables,d)&&((0,j.Mn)(e)||(e=new j.K4({networkError:e})),h(),r.reportError(e,d))}};return o||!y&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=v,this.observer=g),v.addObserver(g),v},t.prototype.reobserve=function(e,t){var r;return(r=this.reobserveAsConcast(e,t).promise.then(this.maskResult)).catch(function(){}),r},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&C(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=(0,i.Cl)((0,i.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:n.error,loading:!1});this.updateLastResult(r,t),C(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,i.Cl)((0,i.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!I(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new V.DX,t}(g.c);function q(e){!1!==globalThis.__DEV__&&o.V1.error(25,e.message,e.stack)}function Q(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&o.V1.debug(26,e)}function z(e){return"network-only"===e||"no-cache"===e||"standby"===e}R(A);var $=r(28363),U=new(E.et?WeakMap:Map);function W(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return U.set(e,(U.get(e)+1)%1e15),r.apply(this,arguments)})}var B=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;U.has(r)||(U.set(r,0),W(r,"evict"),W(r,"modify"),W(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||n.loading;return this.variables&&this.networkStatus!==n.loading&&!(0,c.L)(this.variables,e.variables)&&(t=n.setVariables),(0,c.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,c.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),(0,c.L)(n&&n.result,e&&e.result)||null==(r=this.observableQuery)||r.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,i.Cl)((0,i.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,c.L)(n,this.lastWatch)||(this.cancel(),this.cancelWatch=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===U.get(this.cache)&&(0,c.L)(t,r.variables)&&(0,c.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,o=this,a=new $.ZI,s=(0,b.E)(e.errors)?e.errors.slice(0):[];if(null==(i=this.observableQuery)||i.resetNotifications(),"incremental"in e&&(0,b.E)(e.incremental)){var u=(0,f.bd)(this.getDiff().result,e);e.data=u}else if("hasNext"in e&&e.hasNext){var l=this.getDiff();e.data=a.merge(l.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(K(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:U.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=i.diff(a);!o.stopped&&(0,c.L)(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=n.ready},e.prototype.markError=function(e){var t;return this.networkStatus=n.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function K(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!w(e);return!n&&r&&e.data&&(n=!0),n}var H=r(74742),J=r(44),Y=r(83502),G=r(12477),X=r(14762),Z=r(79312),ee=r(65267),et=Object.prototype.hasOwnProperty,er=Object.create(null),en=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new Y.A(G.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new J.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new y.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,o.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,i.sH)(this,arguments,void 0,function(e){var t,r,n,a,s,u,l,c=e.mutation,f=e.variables,h=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,v=void 0===p?[]:p,y=e.awaitRefetchQueries,g=void 0!==y&&y,b=e.update,k=e.onQueryUpdated,S=e.fetchPolicy,O=void 0===S?(null==(u=this.defaultOptions.mutate)?void 0:u.fetchPolicy)||"network-only":S,x=e.errorPolicy,C=void 0===x?(null==(l=this.defaultOptions.mutate)?void 0:l.errorPolicy)||"none":x,E=e.keepRootFields,R=e.context;return(0,i.YH)(this,function(e){switch(e.label){case 0:if((0,o.V1)(c,28),(0,o.V1)("network-only"===O||"no-cache"===O,29),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,f=this.getVariables(c,f),!r)return[3,2];return[4,this.localState.addExportedVariables(c,f,R)];case 1:f=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:f,loading:!0,error:null}),a=h&&this.markMutationOptimistic(h,{mutationId:t,document:c,variables:f,fetchPolicy:O,errorPolicy:C,context:R,updateQueries:d,update:b,keepRootFields:E}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return m(s.getObservableFromLink(c,(0,i.Cl)((0,i.Cl)({},R),{optimisticResponse:a?h:void 0}),f,{},!1),function(e){if(w(e)&&"none"===C)throw new j.K4({graphQLErrors:_(e)});n&&(n.loading=!1,n.error=null);var r=(0,i.Cl)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===C&&w(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:c,variables:f,fetchPolicy:O,errorPolicy:C,context:R,update:b,updateQueries:d,awaitRefetchQueries:g,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:k,keepRootFields:E})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,i.Cl)((0,i.Cl)({},r),{data:s.maskOperation({document:c,data:r.data,fetchPolicy:O,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof j.K4?e:new j.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&K(n,e.errorPolicy)){if((0,f.ST)(n)||o.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,f.ST)(n)&&(0,b.E)(n.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,f.bd)(s.result,n)),void 0!==u&&(n.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach(function(e,i){var a=e.observableQuery,s=a&&a.queryName;if(s&&et.call(l,s)){var u=l[s],c=r.queries.get(i),f=c.document,h=c.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),p=d.result;if(d.complete&&p){var v=u(p,{mutationResult:n,queryName:f&&(0,k.n4)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,u=!(0,f.YX)(n)||(0,f.ST)(n)&&!n.hasNext;if(s){if(!a){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=(0,i.Cl)((0,i.Cl)({},n),{data:l.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&s(t,n,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return c.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(c).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:er}):e;return n!==er&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,i.Cl)((0,i.Cl)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&o.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,h.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,h.d8)(["nonreactive"],e),nonReactiveQuery:(0,d.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,d.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,k.wY)((0,k.Vu)(e)),asQuery:(0,i.Cl)((0,i.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,i.Cl)((0,i.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,i.Cl)((0,i.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,i.Cl)((0,i.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new B(this),n=new A({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,A.inactiveOnCreation.getValue()||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;void 0===t&&(t=this.generateQueryId()),(0,o.V1)(e.query,30),(0,o.V1)("Document"===e.query.kind,31),(0,o.V1)(!e.returnPartialData,32),(0,o.V1)(!e.pollInterval,33);var n=this.transform(e.query);return this.fetchQuery(t,(0,i.Cl)((0,i.Cl)({},e),{query:n})).then(function(o){return o&&(0,i.Cl)((0,i.Cl)({},o),{data:r.maskOperation({document:n,data:o.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,o.vA)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=n.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,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,e),a.set(e,!1);else if((0,S.Kc)(e)){var r=(0,H.y)(t.transform(e));n.set(r,(0,k.n4)(e)),a.set(r,!1)}else(0,O.U)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,H.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,H.y)(o),!0))}}),s.size&&s.forEach(function(e){var n=(0,x.v)("legacyOneTimeQuery"),a=t.getOrCreateQuery(n).init({document:e.query,variables:e.variables}),s=new A({queryManager:t,queryInfo:a,options:(0,i.Cl)((0,i.Cl)({},e),{fetchPolicy:"network-only"})});(0,o.V1)(s.queryId===n),a.setObservableQuery(s),r.set(n,s)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){if(!e){var r=n.get(t);r?!1!==globalThis.__DEV__&&o.V1.warn(35,r):!1!==globalThis.__DEV__&&o.V1.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,u=void 0===s?{}:s,l=e.extensions,c=void 0===l?{}:l;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,u,e,c).map(function(n){"no-cache"!==i&&(K(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=w(n),s=(0,j.uR)(n);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[j.K$]),"none"===a||s)throw new j.K4(u)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,u).then(f);return new g.c(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,o){var a,u,l=this;void 0===o&&(o=null!=(a=null==t?void 0:t.queryDeduplication)?a:this.queryDeduplication);var c=this.getDocumentInfo(e),f=c.serverQuery,h=c.clientQuery;if(f){var d=this.inFlightLinkObservables,p=this.link,y={query:f,variables:r,operationName:(0,k.n4)(f)||void 0,context:this.prepareContext((0,i.Cl)((0,i.Cl)({},t),{forceFetch:!o})),extensions:n};if(t=y.context,o){var b=(0,H.y)(f),w=(0,v.M)(r),_=d.lookup(b,w);if(!(u=_.observable)){var S=new D([s(p,y)]);u=_.observable=S,S.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?S.beforeNext(e):d.remove(b,w)})}}else u=new D([s(p,y)])}else u=new D([g.c.of({data:{}})]),t=this.prepareContext(t);return h&&(u=m(u,function(e){return l.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})})),u},e.prototype.getResultsFromLink=function(e,t,r){var i=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(o,r.context,r.variables),function(a){var s=_(a),u=s.length>0,l=r.errorPolicy;if(i>
1=e.lastRequestId){if(u&&"none"===l)throw e.markError(new j.K4({graphQLErrors:s}));e.markResult(a,o,r,t),e.markReady()}var c={data:a.data,loading:!1,networkStatus:n.ready};return u&&"none"===l&&(c.data=void 0),u&&"ignore"!==l&&(c.errors=s,c.networkStatus=n.error),c},function(t){var r=(0,j.Mn)(t)?t:new j.K4({networkError:t});throw i>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,i){var o,a,s=this;void 0===r&&(r=n.loading),void 0===i&&(i=t.query);var u=this.getVariables(i,t.variables),l=this.defaultOptions.watchQuery,c=t.fetchPolicy,f=void 0===c?l&&l.fetchPolicy||"cache-first":c,h=t.errorPolicy,d=void 0===h?l&&l.errorPolicy||"none":h,p=t.returnPartialData,v=t.notifyOnNetworkStatusChange,y=t.context,g=Object.assign({},t,{query:i,variables:u,fetchPolicy:f,errorPolicy:d,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==v&&v,context:void 0===y?{}:y}),m=function(n){g.variables=n;var i=s.fetchQueryByPolicy(e,g,r);return"standby"!==g.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},b=function(){return s.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){b(),setTimeout(function(){return o.cancel(e)})}),this.getDocumentInfo(g.query).hasClientExports)o=new D(this.localState.addExportedVariables(g.query,g.variables,g.context).then(m).then(function(e){return e.sources})),a=!0;else{var w=m(g.variables);a=w.fromLink,o=new D(w.sources)}return o.promise.then(b,b),{concast:o,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,x.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,l=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){l.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var c=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof B&&e.watcher.observableQuery;if(n){if(u){l.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&c.set(n,i),i}null!==u&&l.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),l.size&&l.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;u&&(a||(a=t.cache.diff(i.queryInfo.getDiffOptions())),n=u(i,a,o)),u&&!0!==n||(n=i.refetch()),!1!==n&&c.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),c},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,u=e.id,l=null==(t=(0,k.Vu)(i))?void 0:t.operation,c=(null!=(r=null==l?void 0:l[0])?r:"o")+u;!this.dataMasking||"no-cache"!==s||(0,p.s6)(i)||this.noCacheWarningsByQueryId.has(c)||(this.noCacheWarningsByQueryId.add(c),!1!==globalThis.__DEV__&&o.V1.warn(37,null!=(n=(0,k.n4)(i))?n:"Unnamed ".concat(null!=l?l:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,Z.Ki)(),e;var n,i=(0,k.Vu)(t);return((0,o.V1)(i,51),null==e)?e:(0,X.S)(e,i.selectionSet,{operationType:i.operation,operationName:null==(n=i.name)?void 0:n.value,fragmentMap:(0,p.JG)((0,k.zK)(t)),cache:r,mutableTargets:new Z.jq,knownChanged:new Z.xm})}(a,i,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,ee.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var o=this,a=t.query,s=t.variables,u=t.fetchPolicy,l=t.refetchWritePolicy,f=t.errorPolicy,h=t.returnPartialData,d=t.context,p=t.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:a,variables:s,networkStatus:r});var y=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||n.loading);var u=t.result;!1===globalThis.__DEV__||h||(0,c.L)(u,{})||Q(t.missing);var l=function(e){return g.c.of((0,i.Cl)({data:e,loading:I(r),networkStatus:r},t.complete?null:{partial:!0}))};return u&&o.getDocumentInfo(a).hasForcedResolvers?o.localState.runResolvers({document:a,remoteResult:{data:u},context:d,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return l(e.data||void 0)}):"none"===f&&r===n.refetch&&Array.isArray(t.missing)?l(void 0):l(u)},b="no-cache"===u?0:r===n.refetch&&"merge"!==l?1:2,w=function(){return o.getResultsFromLink(e,b,{query:a,variables:s,context:d,fetchPolicy:u,errorPolicy:f})},_=p&&"number"==typeof v&&v!==r&&I(r);switch(u){default:case"cache-first":var k=y();if(k.complete)return{fromLink:!1,sources:[m(k,e.markReady())]};if(h||_)return{fromLink:!0,sources:[m(k),w()]};return{fromLink:!0,sources:[w()]};case"cache-and-network":var k=y();if(k.complete||h||_)return{fromLink:!0,sources:[m(k),w()]};return{fromLink:!0,sources:[w()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[m(y()),w()]};return{fromLink:!0,sources:[w()]};case"no-cache":if(_)return{fromLink:!0,sources:[m(e.getDiff()),w()]};return{fromLink:!0,sources:[w()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new B(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,i.Cl)((0,i.Cl)((0,i.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),ei=r(50424),eo=r(11619);function ea(e){return e.kind===eo.b.FIELD||e.kind===eo.b.FRAGMENT_SPREAD||e.kind===eo.b.INLINE_FRAGMENT}var es=r(53691),eu=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,$.D9)(t.resolvers,e)}):this.resolvers=(0,$.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,i.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,i.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,o,this.fragmentMatcher,s).then(function(e){return(0,i.Cl)((0,i.Cl)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,h.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,d.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,i.Cl)((0,i.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,i.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,i.YH)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,i.Cl)((0,i.Cl)({},t),e.exportedVariables)})]:[2,(0,i.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,ei.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return ei.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,d.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,i.sH)(this,arguments,void 0,function(e,t,r,n,o,a){var s,u,l,c,f,h,d,v,y,g;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,i.YH)(this,function(m){return s=(0,k.Vn)(e),u=(0,k.zK)(e),l=(0,p.JG)(u),c=this.collectSelectionsToResolve(s,l),h=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=this,v=d.cache,y=d.client,g={fragmentMap:l,context:(0,i.Cl)((0,i.Cl)({},r),{cache:v,client:y}),variables:n,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:c,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,i.sH)(this,void 0,void 0,function(){var a,s,u,l,c,f=this;return(0,i.YH)(this,function(d){return a=n.fragmentMap,s=n.context,u=n.variables,l=[r],c=function(e){return(0,i.sH)(f,void 0,void 0,function(){var c,f;return(0,i.YH)(this,function(i){return(t||n.selectionsToResolve.has(e))&&(0,h.MS)(e,u)?(0,S.dt)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&l.push(((r={}
1)[(0,S.ue)(e)]=t,r))})]:((0,S.kd)(e)?c=e:(c=a[e.name.value],(0,o.V1)(c,19,e.name.value)),c&&c.typeCondition&&(f=c.typeCondition.name.value,n.fragmentMatcher(r,f,s)))?[2,this.resolveSelectionSet(c.selectionSet,t,r,n).then(function(e){l.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return(0,$.IM)(l)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,i.sH)(this,void 0,void 0,function(){var o,a,s,u,l,c,f,h,d,p=this;return(0,i.YH)(this,function(i){return r?(o=n.variables,u=(a=e.name.value)!==(s=(0,S.ue)(e)),c=Promise.resolve(l=r[s]||r[a]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[u?a:s])&&(c=Promise.resolve(es.bl.withValue(this.cache,d,[r,(0,S.MB)(e,o),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=l),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,o,a=null!=(o=null==(i=e.directives)?void 0:i.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var a=new Set;n.set(i,a),(0,ei.YR)(i,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&ea(e)&&a.add(e)})},FragmentSpread:function(n,i,s,u,l){var c=t[n.name.value];(0,o.V1)(c,20,n.name.value);var f=e(c);f.size>0&&(l.forEach(function(e){r(e)&&ea(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(i)}(e)},e}();function el(e,t){return(0,P.o)(e,t,t.variables&&{variables:(0,P.o)((0,i.Cl)((0,i.Cl)({},e&&e.variables),t.variables))})}var ec=r(70554),ef=!1,eh=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,o.vA)(16);var n=e.uri,s=e.credentials,c=e.headers,f=e.cache,h=e.documentTransform,d=e.ssrMode,p=void 0!==d&&d,v=e.ssrForceFetchDelay,y=void 0===v?0:v,g=e.connectToDevTools,m=e.queryDeduplication,b=void 0===m||m,w=e.defaultOptions,_=e.defaultContext,k=e.assumeImmutableResults,S=void 0===k?f.assumeImmutableResults:k,O=e.resolvers,x=e.typeDefs,C=e.fragmentMatcher,E=e.name,R=e.version,T=e.devtools,D=e.dataMasking,j=e.link;j||(j=n?new l.P({uri:n,credentials:s,headers:c}):a.C.empty()),this.link=j,this.cache=f,this.disableNetworkFetches=p||y>0,this.queryDeduplication=b,this.defaultOptions=w||Object.create(null),this.typeDefs=x,this.devtoolsConfig=(0,i.Cl)((0,i.Cl)({},T),{enabled:null!=(t=null==T?void 0:T.enabled)?t:g}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),y&&setTimeout(function(){return r.disableNetworkFetches=!1},y),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=u.r,this.localState=new eu({cache:f,client:this,resolvers:O,fragmentMatcher:C}),this.queryManager=new en({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:_,documentTransform:h,queryDeduplication:b,ssrMode:p,dataMasking:!!D,clientAwareness:{name:E,version:R},localState:this.localState,assumeImmutableResults:S,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!ef&&!1!==globalThis.__DEV__&&(ef=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&o.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=el(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,i.Cl)((0,i.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=el(this.defaultOptions.query,e)),(0,o.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,i.Cl)((0,i.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=el(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,i.Cl)((0,i.Cl)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,i.Cl)((0,i.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return s(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 i=Promise.all(n);return i.queries=r,i.results=n,i.catch(function(e){!1!==globalThis.__DEV__&&o.V1.debug(18,e)}),i},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(eh.prototype.getMemoryInternals=ec.ep)},97056:(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 i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>k}
1);var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var l=u("iterator"),c=u("observable"),f=u("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:k}function p(e){p.log?p.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){p(e)}})}function y(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){p(e)}}function g(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function m(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(g(e),i)i.call(n,r);else throw r;break;case"complete":g(e),i&&i.call(n)}}catch(e){p(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function b(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(m(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}m(e,t,r)}}var w=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new _(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(g(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),_=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),k=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new w(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(d(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(d(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=d(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=d(this);return new i(function(t){var n,o=0;return!function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=d(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[c]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=h(t,c);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof k&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,l)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(k,Symbol("extensions"),{value:{symbol:c,hostReportError:p},configurable:!0})},97410:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.13.7"},98953:(e,t,r)=>{"use strict";r.d(t,{a:()=>l});var n=r(71450),i=r(88924),o=r(53537),a=r(10038),s=r(83931),u=r(37979);function l(e,t,r,l){var f=t.data,h=(0,n.Tt)(t,["data"]),d=r.data,p=(0,n.Tt)(r,["data"]);return(0,i.A)(h,p)&&function e(t,r,n,o){if(r===n)return!0;var l=new Set;return t.selections.every(function(t){if(l.has(t)||(l.add(t),!(0,s.MS)(t,o.variables)||c(t)))return!0;if((0,u.dt)(t)){var f=(0,u.ue)(t),h=r&&r[f],d=n&&n[f],p=t.selectionSet;if(!p)return(0,i.A)(h,d);var v=Array.isArray(h),y=Array.isArray(d);if(v!==y)return!1;if(v&&y){var g=h.length;if(d.length!==g)return!1;for(var m=0;m<g;++m)if(!e(p,h[m],d[m],o))return!1;return!0}return e(p,h,d,o)}var b=(0,a.HQ)(t,o.fragmentMap);if(b)return!!c(b)||e(b.selectionSet,r,n,o)})}((0,o.Vn)(e).selectionSet,f,d,{fragmentMap:(0,a.JG)((0,o.zK)(e)),variables:l})}function c(e){return!!e.directives&&e.directives.some(f)}function f(e){return"nonreactive"===e.name.value}}}]);

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.