PageSourceSearch

https://www.kantata.com/_next/static/chunks/pages/_app-c64996825fbcacb4.js

js kantata.com collected 2026-10-03 20:10:36 UTC 156,718 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{4902:(e,t,r)=>{"use strict";r.d(t,{C6:()=>i,Cl:()=>o,Tt:()=>a,YH:()=>u,fX:()=>c,sH:()=>s});var n=function(e,t){return(n=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function s(e,t,r,n){return new(r||(r=Promise))(function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function s(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}u((n=n.apply(e,t||[])).next())})}function u(e,t){var r,n,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(u){var c=[s,u];if(r)throw TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(o=0)),o;)try{if(r=1,n&&(i=2&c[0]?n.return:c[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,c[1])).done)return i;switch(n=0,i&&(c=[2&c[0],i.value]),c[0]){case 0:case 1:i=c;break;case 4:return o.label++,{value:c[1],done:!1};case 5:o.label++,n=c[1],c=[0];continue;case 7:c=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===c[0]||2===c[0])){o=0;continue}if(3===c[0]&&(!i||c[1]>i[0]&&c[1]<i[3])){o.label=c[1];break}if(6===c[0]&&o.label<i[1]){o.label=i[1],i=c;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(c);break}i[2]&&o.ops.pop(),o.trys.pop();continue}c=t.call(e,o)}catch(e){c=[6,e],n=0}finally{r=i=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}}Object.create;function c(e,t,r){if(r||2==arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}Object.create,"function"==typeof SuppressedError&&SuppressedError},7743:(e,t,r)=>{"use strict";function n(e){return 9===e||32===e}function i(e){return e>=48&&e<=57}function o(e){return e>=97&&e<=122||e>=65&&e<=90}function a(e){return o(e)||95===e}function s(e){return o(e)||i(e)||95===e}r.d(t,{i0:()=>n,un:()=>a,xr:()=>s,yp:()=>i})},8056:(e,t,r)=>{"use strict";r.d(t,{y:()=>u});var n=r(47518);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}let a=["\\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 s=r(74968);function u(e){return(0,s.YR)(e,c)}let c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=d(e.variableDefinitions)?h("(\n",l(e.variableDefinitions,"\n"),"\n)"):h("(",l(e.variableDefinitions,", "),")"),r=h("",e.de
1scription,"\n")+l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>h("",i,"\n")+e+": "+t+h(" = ",r)+h(" ",l(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let o=h("",e,": ")+t,a=o+h("(",l(r,", "),")");return a.length>80&&(a=o+h("(\n",p(l(r,"\n")),"\n)")),l([a,l(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>l(["...",h("on ",e),l(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:o})=>h("",o,"\n")+`fragment ${e}${h("(",l(r,", "),")")} `+`on ${t} ${h("",l(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,n.yo)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",l(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")+l(["schema",l(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l(["scalar",t,l(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["type",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+": "+n+h(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+l([t+": "+r,h("= ",n),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["interface",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+l(["union",t,l(r," "),h("= ",l(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+l(["enum",t,l(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l([t,l(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+l(["input",t,l(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(d(r)?h("(\n",p(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+(n?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend type",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend interface",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>l(["extend union",e,l(t," "),h("= ",l(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>l(["extend enum",e,l(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>l(["extend input",e,l(t," "),f(r)]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>l([e,h(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>l([e,h(".",t),h("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>l(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>l(["@",e,h("(",t,":)")])}};function l(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function f(e){return h("{\n",p(l(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function p(e){return h("  ",e.replace(/\n/g,"\n  "))}function d(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}}
1,12196:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(14232).createContext)()},12827:(e,t,r)=>{"use strict";let n,i;r.r(t),r.d(t,{default:()=>r7});var o,a,s,u=r(37876),c=r(14232),l=r(4902),f=r(17318),h=r(60427),p=r(94852),d=function(e){var t=e.client,r=e.children,n=(0,p.l)(),i=h.useContext(n),o=h.useMemo(function(){return(0,l.Cl)((0,l.Cl)({},i),{client:t||i.client})},[i,t]);return(0,f.V1)(o.client,46),h.createElement(n.Provider,{value:o},r)};function v(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 y(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 m(e,t,r){return t&&y(e.prototype,t),r&&y(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var b=function(){return"function"==typeof Symbol},g=function(e){return b()&&!!Symbol[e]},_=function(e){return g(e)?Symbol[e]:"@@"+e};b()&&!g("observable")&&(Symbol.observable=Symbol("observable"));var w=_("iterator"),O=_("observable"),E=_("species");function S(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function T(e){var t=e.constructor;return void 0!==t&&null===(t=t[E])&&(t=void 0),void 0!==t?t:j}function C(e){C.log?C.log(e):setTimeout(function(){throw e})}function k(e){Promise.resolve().then(function(){try{e()}catch(e){C(e)}})}function D(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=S(t,"unsubscribe");r&&r.call(t)}}catch(e){C(e)}}function x(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function I(e,t,r){e._state="running";var n=e._observer;try{var i=S(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(x(e),i)i.call(n,r);else throw r;break;case"complete":x(e),i&&i.call(n)}}catch(e){C(e)}"closed"===e._state?D(e):"running"===e._state&&(e._state="ready")}function R(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}],k(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(I(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}I(e,t,r)}}var N=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new F(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&&(x(this),D(this))},m(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),F=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){R(this._subscription,"next",e)},t.error=function(e){R(this._subscription,"error",e)},t.complete=function(){R(this._subscription,"complete")},m(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),j=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 N(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(T(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(T(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=T(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=T(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=T(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[O]=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 n=S(t,O);if(n){var i=n.call(t);if(Object(i)!==i)throw TypeError(i+" is not an object");return i instanceof j&&i.constructor===r?i:new r(function(e){return i.subscribe(e)})}if(g("iterator")&&(n=S(t,w)))return new r(function(e){k(function(){if(!e.closed){for(var r,i=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 v(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 v(e,t)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(n.call(t));!(r=i()).done;){var o=r.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){k(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){k(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},m(e,null,[{key:E,get:function(){return this}}]),e}();b()&&Object.defineProperty(j,Symbol("extensions"),{value:{symbol:O,hostReportError:C},configurable:!0});var A=r(93957);function P(e,t){var r=t,n=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,f.vA)(73,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&n.push(e)}),void 0===r&&((0,f.V1)(1===n.length,74,n.length),r=n[0].name.value),(0,l.Cl)((0,l.Cl)({},e),{definitions:(0,l.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function q(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function V(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,f.V1)(n,75,r),n||null;default:return null}}var M=r(95682),Q=r(80593),L=r(17070),z=Object.assign(function(e){return JSON.stringify(e,U)},{reset:function(){a=new M.V(Q.v.canonicalStringify||1e3)}});function U(e,t){if(t&&"object"==typeof t){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var n=Object.keys(t);if(n.every(W))return t;var i=JSON.stringify(n),o=a.get(i);if(!o){n.sort();var s=JSON.stringify(n);o=a.get(s)||n,a.set(i,o),a.set(s,o)}var u=Object.create(r);return o.forEach(function(e){u[e]=t[e]}),u}}return t}function W(e,t,r){return 0===t||r[t-1]<=e}function B(e){return{__ref:String(e)}}function Y(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function J(e,t,r,n){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 i={};r.fields.map(function(e){return J(i,e.name,e.value,n)}),e[t.value]=i}
1else if("Variable"===r.kind){var o=(n||{})[r.name.value];e[t.value]=o}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return J(r,t,e,n),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,f.vA)(84,t.value,r.kind)}!1!==globalThis.__DEV__&&(0,L.D_)("canonicalStringify",function(){return a.size}),z.reset();var K=["connection","include","skip","client","rest","export","nonreactive"],H=z,G=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(H(i),")")}var o=e;if(t){var a=H(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===K.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(H(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=H;return H=e,t}});function X(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return J(r,e.name,e.value,t)}),r}return null}function $(e){return e.alias?e.alias.value:e.name.value}function Z(e,t,r){for(var n,i=0,o=t.selections;i<o.length;i++){var a=o[i];if(ee(a)){if("__typename"===a.name.value)return e[$(a)]}else n?n.push(a):n=[a]}if("string"==typeof e.__typename)return e.__typename;if(n)for(var s=0,u=n;s<u.length;s++){var a=u[s],c=Z(e,V(a,r).selectionSet,r);if("string"==typeof c)return c}}function ee(e){return"Field"===e.kind}function et(e){(0,f.V1)(e&&"Document"===e.kind,76);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,f.vA)(77,e.kind);return e});return(0,f.V1)(t.length<=1,78,t.length),e}function er(e){return et(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function en(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function ei(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function eo(e){var t=er(e);return(0,f.V1)(t&&"query"===t.operation,79),t}function ea(e){et(e);for(var t,r=0,n=e.definitions;r<n.length;r++){var i=n[r];if("OperationDefinition"===i.kind){var o=i.operation;if("query"===o||"mutation"===o||"subscription"===o)return i}"FragmentDefinition"!==i.kind||t||(t=i)}if(t)return t;throw(0,f.vA)(83)}function es(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&J(t,e.variable.name,e.defaultValue)}),t}function eu(e,t){return t?t(e):j.of()}function ec(e){return"function"==typeof e?new ef(e):e}function el(e){return e.request.length<=1}var ef=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return j.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(ec).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=ec(r),o=ec(n||new e(eu));return Object.assign(new e(el(i)&&el(o)?function(e){return t(e)?i.request(e)||j.of():o.request(e)||j.of()}:function(e,r){return t(e)?i.request(e,r)||j.of():o.request(e,r)||j.of()}),{left:i,right:o})},e.execute=function(e,t){var r,n,i,o,a;return e.request((i=t.context,(n={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var i=n[r];if(0>t.indexOf(i))throw(0,f.vA)(43,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?en(n.query)||void 0:""),o=n,a=(0,l.Cl)({},i),Object.defineProperty(o,"setContext",{enumerable:!1,value:function(e){a="function"==typeof e?(0,l.Cl)((0,l.Cl)({},a),e(a)):(0,l.Cl)((0,l.Cl)({},a),e)}}),Object.defineProperty(o,"getContext",{enumerable:!1,value:function(){return(0,l.Cl)({},a)}}),o))||j.of()},e.concat=function(t,r){var n=ec(t);if(el(n))return!1!==globalThis.__DEV__&&f.V1.warn(35,n),n;var i=ec(r);return Object.assign(new e(el(i)?function(e){return n.request(e,function(e){return i.request(e)||j.of()})||j.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||j.of()})||j.of()}),{left:n,right:i})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(eu)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,f.vA)(36)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}(),eh=r(74968);function ep(e,t){var r,n,i=e.directives;return!i||!i.length||(n=[],(r=i)&&r.length&&r.forEach(function(e){if("skip"===(t=e.name.value)||"include"===t){var t,r=e.arguments,i=e.name.value;(0,f.V1)(r&&1===r.length,70,i);var o=r[0];(0,f.V1)(o.name&&"if"===o.name.value,71,i);var a=o.value;(0,f.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),72,i),n.push({directive:e,ifArgument:o})}}),n).every(function(e){var r=e.directive,n=e.ifArgument,i=!1;return"Variable"===n.value.kind?(i=t&&t[n.value.name.value],(0,f.V1)(void 0!==i,69,r.name.value)):i=n.value.value,"skip"===r.name.value?!i:i})}function ed(e,t,r){var n=new Set(e),i=n.size;return(0,eh.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return eh.sP}}),r?!n.size:n.size<i}var ev=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,f.vA)(39,t,e.message);throw n.parseError=e,n}return r},ey=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},em=r(80542);function eb(e){var t={next:function(){return e.read()}};return em.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var eg=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}
1,e_=r(83070),ew=r(35785),eO=Object.prototype.hasOwnProperty;function eE(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return eS(e)}function eS(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new eC,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var eT=function(e,t,r){return this.merge(e[r],t[r])},eC=function(){function e(e){void 0===e&&(e=eT),this.reconciler=e,this.isObject=A.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return(0,A.U)(t)&&(0,A.U)(e)?(Object.keys(t).forEach(function(i){if(eO.call(e,i)){var o=e[i];if(t[i]!==o){var a=r.reconciler.apply(r,(0,l.fX)([e,t,i],n,!1));a!==o&&((e=r.shallowCopyForMerge(e))[i]=a)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,A.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,l.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function ek(e){return"incremental"in e}function eD(e,t){var r=e,n=new eC;return ek(t)&&(0,ew.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}var ex=Object.prototype.hasOwnProperty;function eI(e,t){e.status>=300&&eg(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 eR=function(e){if(!e&&"undefined"==typeof fetch)throw(0,f.vA)(37)},eN=r(8056),eF=Object.assign(function(e){var t=s.get(e);return t||(t=(0,eN.y)(e),s.set(e,t)),t},{reset:function(){s=new M.A(Q.v.print||2e3)}});eF.reset(),!1!==globalThis.__DEV__&&(0,L.D_)("print",function(){return s?s.size:0});var ej={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},eA=function(e,t){return t(e)};function eP(e){return new j(function(t){t.error(e)})}var eq=r(94587),eV={kind:eq.b.FIELD,name:{kind:eq.b.NAME,value:"__typename"}};function eM(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 eQ(e,t){et(t);for(var r,n,i,o,a=eM(""),s=eM(""),u=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,ew.c)(r)){if(r.kind===eq.b.OPERATION_DEFINITION)return a(r.name&&r.name.value);if(r.kind===eq.b.FRAGMENT_DEFINITION)return s(r.name.value)}return!1!==globalThis.__DEV__&&f.V1.error(85),null},c=0,h=t.definitions.length-1;h>=0;--h)t.definitions[h].kind===eq.b.OPERATION_DEFINITION&&++c;var p=(r=new Map,n=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),d=function(e){return(0,ew.E)(e)&&e.map(p).some(function(e){return e&&e.remove})},v=new Map,y=!1,m={enter:function(e){if(d(e.directives))return y=!0,null}},b=(0,eh.YR)(t,{Field:m,InlineFragment:m,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=u(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(d(e.directives))return y=!0,null;var o=u(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){v.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===v.get(JSON.stringify(n))?e:c>0&&e.selectionSet.selections.every(function(e){return e.kind===eq.b.FIELD&&"__typename"===e.name.value})?(s(e.name.value).removed=!0,y=!0,null):void 0}},Directive:{leave:function(e){if(p(e))return y=!0,null}}});if(!y)return t;var g=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){g(s(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},_=new Set;b.definitions.forEach(function(e){e.kind===eq.b.OPERATION_DEFINITION?g(a(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){_.add(e)}):e.kind!==eq.b.FRAGMENT_DEFINITION||0!==c||s(e.name.value).removed||_.add(e.name.value)}),_.forEach(function(e){g(s(e)).fragmentSpreads.forEach(function(e){_.add(e)})});var w={enter:function(e){var t;
1if(t=e.name.value,!_.has(t)||s(t).removed)return null}};return!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===eq.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}(er(i=(0,eh.YR)(b,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=g(a(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,l.Cl)((0,l.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}))||((0,f.V1)("Document"===i.kind,80),(0,f.V1)(i.definitions.length<=1,81),o=i.definitions[0],(0,f.V1)("FragmentDefinition"===o.kind,82),o),q(ei(i)))?i:null}var eL=Object.assign(function(e){return(0,eh.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==eq.b.OPERATION_DEFINITION){var n=e.selections;if(!(!n||n.some(function(e){return ee(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!(ee(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,l.Cl)((0,l.Cl)({},e),{selections:(0,l.fX)((0,l.fX)([],n,!0),[eV],!1)})}}}})},{added:function(e){return e===eV}});function ez(e){return et(e),eQ([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var eU=(0,f.no)(function(){return fetch}),eW=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,o=void 0===i?eA:i,a=e.includeExtensions,s=e.preserveHeaderCase,u=e.useGETForQueries,c=e.includeUnusedVariables,h=void 0!==c&&c,p=(0,l.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&eR(n||eU);var d={http:{includeExtensions:a,preserveHeaderCase:s},options:p.fetchOptions,credentials:p.credentials,headers:p.headers};return new ef(function(e){var t,i,a,s,c,p,v=ey(e,r),y=e.getContext(),m={};if(y.clientAwareness){var b=y.clientAwareness,g=b.name,_=b.version;g&&(m["apollographql-client-name"]=g),_&&(m["apollographql-client-version"]=_)}var w=(0,l.Cl)((0,l.Cl)({},m),y.headers),O={http:y.http,options:y.fetchOptions,credentials:y.credentials,headers:w};if(ed(["client"],e.query)){var E=ez(e.query);if(!E)return eP(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=E}var S=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},o={};r.forEach(function(e){i=(0,l.Cl)((0,l.Cl)((0,l.Cl)({},i),e.options),{headers:(0,l.Cl)((0,l.Cl)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),o=(0,l.Cl)((0,l.Cl)({},o),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r=Object.create(null);
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n=Object.create(null);Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,o.preserveHeaderCase));var a=e.operationName,s=e.extensions,u=e.variables,c=e.query,f={operationName:a,variables:u};return o.includeExtensions&&(f.extensions=s),o.includeQuery&&(f.query=t(c,eF)),{options:i,body:f}}(e,o,ej,d,O),T=S.options,C=S.body;C.variables&&!h&&(t=C.variables,i=e.query,a=(0,l.Cl)({},t),s=new Set(Object.keys(t)),(0,eh.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&s.delete(e.name.value)}}),s.forEach(function(e){delete a[e]}),C.variables=a),T.signal||"undefined"==typeof AbortController||(T.signal=(p=new AbortController).signal);var k="OperationDefinition"===(c=ea(e.query)).kind&&"subscription"===c.operation,D=ed(["defer"],e.query);if(u&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(T.method="GET"),D||k){T.headers=T.headers||{};var x="multipart/mixed;";k&&D&&!1!==globalThis.__DEV__&&f.V1.warn(38),k?x+="boundary=graphql;subscriptionSpec=1.0,application/json":D&&(x+="deferSpec=20220824,application/json"),T.headers.accept=x}if("GET"===T.method){var I=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=ev(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=ev(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var c=-1===s.indexOf("?")?"?":"&";return{newURI:s+c+r.join("&")+a}}(v,C),R=I.newURI,N=I.parseError;if(N)return eP(N);v=R}else try{T.body=ev(C,"Payload")}catch(e){return eP(e)}return new j(function(t){var r=n||(0,f.no)(function(){return fetch})||eU,i=t.next.bind(t);return r(v,T).then(function(t){e.setContext({response:t});var r,n=null==(r=t.headers)?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?function(e,t){return(0,l.sH)(this,void 0,void 0,function(){var r,n,i,o,a,s,u,c,f,h,p,d,v,y,m,b,g,_,w,O,E,S,T;return(0,l.YH)(this,function(C){switch(C.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"),n=null==(T=e.headers)?void 0:T.get("content-type"),i="boundary=",o=(null==n?void 0:n.includes(i))?null==n?void 0:n.substring((null==n?void 0:n.indexOf(i))+i.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",a="\r\n--".concat(o),s="",u=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,em.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 eb(s.getReader());if(s.stream)return eb(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)}))}},em.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 c={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return em.uJ&&(c[Symbol.asyncIterator]=function(){return this}),c}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),c=!0,C.label=1;case 1:if(!c)return[3,3];return[4,u.next()];
1case 2:for(h=(f=C.sent()).value,p=f.done,d="string"==typeof h?h:r.decode(h),v=s.length-a.length+1,c=!p,s+=d,y=s.indexOf(a,v);y>-1;){if(m=void 0,m=(E=[s.slice(0,y),s.slice(y+a.length)])[0],s=E[1],b=m.indexOf("\r\n\r\n"),(g=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}(m.slice(0,b))["content-type"])&&-1===g.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(_=m.slice(b)){if(Object.keys(w=eI(e,_)).length>1||"data"in w||"incremental"in w||"errors"in w||"payload"in w)if((0,A.U)(w)&&"payload"in w){if(O={},"payload"in w){if(1===Object.keys(w).length&&null===w.payload)return[2];O=(0,l.Cl)({},w.payload)}"errors"in w&&(O=(0,l.Cl)((0,l.Cl)({},O),{extensions:(0,l.Cl)((0,l.Cl)({},"extensions"in O?O.extensions:null),((S={})[e_.K$]=w.errors,S))})),t(O)}else t(w);else if(1===Object.keys(w).length&&"hasNext"in w&&!w.hasNext)return[2]}y=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return eI(t,e)}).then(function(r){return Array.isArray(r)||ex.call(r,"data")||ex.call(r,"errors")||eg(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(){p=void 0,t.complete()}).catch(function(e){p=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){p&&p.abort()}})})},eB=ef.execute,eY=r(84918),eJ=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,eW(t).request)||this;return r.options=t,r}return(0,l.C6)(t,e),t}(ef),eK=r(20996);let eH=()=>Object.create(null),{forEach:eG,slice:eX}=Array.prototype,{hasOwnProperty:e$}=Object.prototype;class eZ{constructor(e=!0,t=eH){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return eG.call(e,e=>t=t.getChildTrie(e)),e$.call(t,"data")?t.data:t.data=this.makeData(eX.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(eX.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 eZ(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)}}var e0=r(99853),e1=r(36898);let e2=null,e8={},e3=1;function e9(e){try{return e()}catch(e){}}let e6="@wry/context:Slot",e7=e9(()=>globalThis)||e9(()=>global)||Object.create(null),e4=e7[e6]||Array[e6]||function(e){try{Object.defineProperty(e7,e6,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",e3++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=e2;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===e8)break;return e!==e2&&(e2.slots[this.id]=t),!0}return e2&&(e2.slots[this.id]=e8),!1}getValue(){if(this.hasValue())return e2.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},o=e2;e2={parent:o,slots:i};try{return t.apply(n,r)}finally{e2=o}}static bind(e){let t=e2;return function(){let r=e2;try{return e2=t,e.apply(this,arguments)}finally{e2=r}}}static noContext(e,t,r){if(!e2)return e.apply(r,t);{let n=e2;try{return e2=null,e.apply(r,t)}finally{e2=n}}}}),{bind:e5,noContext:te}=e4,tt=new e4,{hasOwnProperty:tr}=Object.prototype,tn=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function ti(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let to=[];function ta(e,t){if(!e)throw Error(t||"assertion failure")}function ts(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function tu(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class tc{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,++tc.count}peek(){if(1===this.value.length&&!th(this))return tl(this),this.value[0]}recompute(e){var t,r,n;return ta(!this.recomputing,"already recomputing"),tl(this),th(this)?(t=this,r=e,tm(t),tt.withValue(t,tf,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{ti(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,th(n)||function(e){tp(e,tv)}(n)),tu(t.value)):tu(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,tp(e,td),ti(this))}dispose(){this.setDirty(),tm(this),tp(this,(e,t)=>{e.setDirty(),tb(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=to.pop()||new Set),this.deps.add(e)}
1forgetDeps(){this.deps&&(tn(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),to.push(this.deps),this.deps=null)}}function tl(e){let t=tt.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),th(e)?td(t,e):tv(t,e),t}function tf(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&&!ts(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 th(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}tc.count=0;function tp(e,t){let r=e.parents.size;if(r){let n=tn(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function td(e,t){ta(e.childValues.has(t)),ta(th(t));let r=!th(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=to.pop()||new Set;e.dirtyChildren.add(t),r&&tp(e,td)}function tv(e,t){ta(e.childValues.has(t)),ta(!th(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):ts(r,t.value)||e.setDirty(),ty(e,t),th(e)||tp(e,tv)}function ty(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(to.length<100&&to.push(r),e.dirtyChildren=null))}function tm(e){e.childValues.size>0&&e.childValues.forEach((t,r)=>{tb(e,r)}),e.forgetDeps(),ta(null===e.dirtyChildren)}function tb(e,t){t.parents.delete(e),e.childValues.delete(t),ty(e,t)}let tg={setDirty:!0,dispose:!0,forget:!0};function t_(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=tt.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(ti(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&tr.call(tg,r)?r:"setDirty";tn(n).forEach(e=>e[i]()),t.delete(e),ti(n)}},n}function tw(...e){return(n||(n=new eZ("function"==typeof WeakMap))).lookupArray(e)}let tO=new Set;function tE(e,{max:t=65536,keyArgs:r,makeCacheKey:n=tw,normalizeResult:i,subscribe:o,cache:a=e1.C}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,u=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new tc(e)),a.normalizeResult=i,a.subscribe=o,a.forget=()=>s.delete(t));let u=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),tO.add(s),tt.hasValue()||(tO.forEach(e=>e.clean()),tO.clear()),u};function c(e){let t=e&&s.get(e);t&&t.setDirty()}function l(e){let t=e&&s.get(e);if(t)return t.peek()}function f(e){return!!e&&s.delete(e)}return Object.defineProperty(u,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(u.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:o,cache:s}),u.dirtyKey=c,u.dirty=function(){c(n.apply(null,arguments))},u.peekKey=l,u.peek=function(){return l(n.apply(null,arguments))},u.forgetKey=f,u.forget=function(){return f(n.apply(null,arguments))},u.makeCacheKey=n,u.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(u)}function tS(e){return e}var tT=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=em.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(tS,{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 eZ(em.et);this.performWork=tE(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,f.V1)(Array.isArray(n),68),r.lookupArray(n)},max:Q.v["documentTransform.cache"],cache:e0.l})}},e.prototype.performWork=function(e){return et(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}();function tC(e,t,r){return new j(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function tk(e){var t=tD(e);return(0,ew.E)(t)}function tD(e){var t=(0,ew.E)(e.errors)?e.errors.slice(0):[];return ek(e)&&(0,ew.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var tx=r(18659);function tI(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}
1),n.forEach(function(e){return e[t](r)})}function tR(e){function t(t){Object.defineProperty(e,t,{value:j})}return em.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function tN(e){return e&&"function"==typeof e.then}var tF=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),tI(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),tI(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?tN(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"),tI(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new j(t)]),tN(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,l.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}(j);tR(tF);var tj=r(66434),tA=r(79760),tP=Object.prototype.toString;function tq(e,t){switch(tP.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=tq(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(function(r){n[r]=tq(e[r],t)}),n;default:return e}}function tV(e,t,r,n){var i=t.data,o=(0,l.Tt)(t,["data"]),a=r.data,s=(0,l.Tt)(r,["data"]);return(0,eK.A)(o,s)&&function e(t,r,n,i){if(r===n)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!ep(t,i.variables)||tM(t)))return!0;if(ee(t)){var a=$(t),s=r&&r[a],u=n&&n[a],c=t.selectionSet;if(!c)return(0,eK.A)(s,u);var l=Array.isArray(s),f=Array.isArray(u);if(l!==f)return!1;if(l&&f){var h=s.length;if(u.length!==h)return!1;for(var p=0;p<h;++p)if(!e(c,s[p],u[p],i))return!1;return!0}return e(c,s,u,i)}var d=V(t,i.fragmentMap);if(d)return!!tM(d)||e(d.selectionSet,r,n,i)})}(ea(e).selectionSet,i,a,{fragmentMap:q(ei(e)),variables:n})}function tM(e){return!!e.directives&&e.directives.some(tQ)}function tQ(e){return"nonreactive"===e.name.value}var tL=Object.assign,tz=Object.hasOwnProperty,tU=function(e){function t(t){var r=t.queryManager,n=t.queryInfo,i=t.options,o=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=tB)}catch(e){}var r=!o.observers.size;o.observers.add(e);var n=o.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this;o.observers=new Set,o.subscriptions=new Set,o.queryInfo=n,o.queryManager=r,o.waitForOwnResult=tJ(i.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o);var a=r.defaultOptions.watchQuery,s=(void 0===a?{}:a).fetchPolicy,u=void 0===s?"cache-first":s,c=i.fetchPolicy,f=void 0===c?u:c,h=i.initialFetchPolicy,p=void 0===h?"standby"===f?u:f:h;o.options=(0,l.Cl)((0,l.Cl)({},i),{initialFetchPolicy:p,fetchPolicy:f}),o.queryId=n.queryId||r.generateQueryId();
1var d=er(o.query);return o.queryName=d&&d.name&&d.name.value,o}return(0,l.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.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||tj.pT.ready,n=(0,l.Cl)((0,l.Cl)({},t),{loading:(0,tj.bi)(r),networkStatus:r}),i=this.options.fetchPolicy,o=void 0===i?"cache-first":i;if(tJ(o)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var a=this.queryInfo.getDiff();(a.complete||this.options.returnPartialData)&&(n.data=a.result),(0,eK.L)(n.data,{})&&(n.data=void 0),a.complete?(delete n.partial,a.complete&&n.networkStatus===tj.pT.loading&&("cache-first"===o||"cac
1he-only"===o)&&(n.networkStatus=tj.pT.ready,n.loading=!1)):n.partial=!0,!1===globalThis.__DEV__||a.complete||this.options.partialRefetch||n.loading||n.data||n.error||tY(a.missing)}return e&&this.updateLastResult(n),n},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?!tV(this.query,this.last.result,e,this.variables):!(0,eK.L)(this.last.result,e))||t&&!(0,eK.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,eK.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},n=this.options.fetchPolicy;if("cache-and-network"===n?r.fetchPolicy=n:"no-cache"===n?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&tz.call(e,"variables")){var i=eo(this.query),o=i.variableDefinitions;o&&o.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||f.V1.warn(20,e,(null==(t=i.name)?void 0:t.value)||i)}return e&&!(0,eK.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,l.Cl)((0,l.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,tj.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,l.Cl)((0,l.Cl)({},e.query?e:(0,l.Cl)((0,l.Cl)((0,l.Cl)((0,l.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,l.Cl)((0,l.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var n=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var i=this.queryInfo,o=i.networkStatus;i.networkStatus=tj.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var a=new Set;return this.queryManager.fetchQuery(n,r,tj.pT.fetchMore).then(function(s){return t.queryManager.removeQuery(n),i.networkStatus===tj.pT.fetchMore&&(i.networkStatus=o),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:s.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:s.data})},onWatchUpdated:function(e){a.add(e.query)}}),s}).finally(function(){a.has(t.query)||tW(t)})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError)return void e.onError(t);!1!==globalThis.__DEV__&&f.V1.error(21,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,tA.o)(this.options,e||{});tL(this.options,t)},t.prototype.setVariables=function(e){return(0,eK.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},tj.pT.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){(0,f.V1)(r,22),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,tj.bi)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?i():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},tj.pT.poll).then(i,i))},i=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};i()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var r=this.getLastError();return r&&this.last&&!(0,eK.L)(t,this.last.variables)&&(r=void 0),this.last=(0,l.Cl)({result:this.queryManager.assumeImmutableResults?e:tq(e),variables:t},r?{error:r}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
1var n=t===tj.pT.refetch||t===tj.pT.fetchMore||t===tj.pT.poll,i=this.options.variables,o=this.options.fetchPolicy,a=(0,tA.o)(this.options,e||{}),s=n?a:tL(this.options,a),u=this.transformDocument(s.query);this.lastQuery=u,!n&&(this.updatePolling(),e&&e.variables&&!(0,eK.L)(e.variables,i)&&"standby"!==s.fetchPolicy&&(s.fetchPolicy===o||"function"==typeof s.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",s),void 0===t&&(t=tj.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=tJ(s.fetchPolicy));var c=function(){r.concast===p&&(r.waitForOwnResult=!1)},f=s.variables&&(0,l.Cl)({},s.variables),h=this.fetch(s,t,u),p=h.concast,d=h.fromLink,v={next:function(e){(0,eK.L)(r.variables,f)&&(c(),r.reportResult(e,f))},error:function(e){(0,eK.L)(r.variables,f)&&(c(),r.reportError(e,f))}};return n||!d&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=p,this.observer=v),p.addObserver(v),p},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&tI(this.observers,"next",e)},t.prototype.reportError=function(e,t){var r=(0,l.Cl)((0,l.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:tj.pT.error,loading:!1});this.updateLastResult(r,t),tI(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}(j);function tW(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function tB(e){!1!==globalThis.__DEV__&&f.V1.error(23,e.message,e.stack)}function tY(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&f.V1.debug(24,e)}function tJ(e){return"network-only"===e||"no-cache"===e||"standby"===e}tR(tU);var tK=new(em.et?WeakMap:Map);function tH(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return tK.set(e,(tK.get(e)+1)%1e15),r.apply(this,arguments)})}function tG(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var tX=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;tK.has(r)||(tK.set(r,0),tH(r,"evict"),tH(r,"modify"),tH(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tj.pT.loading;return this.variables&&this.networkStatus!==tj.pT.loading&&!(0,eK.L)(this.variables,e.variables)&&(t=tj.pT.setVariables),(0,eK.L)(e.variables,this.variables)||(this.lastDiff=void 0),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.reset=function(){tG(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,eK.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=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,eK.L)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():tW(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1tG(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,tj.bi)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,l.Cl)((0,l.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,eK.L)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===tK.get(this.cache)&&(0,eK.L)(t,r.variables)&&(0,eK.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new eC,a=(0,ew.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,ew.E)(e.incremental)){var s=eD(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(t$(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:tK.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);!i.stopped&&(0,eK.L)(i.variables,r.variables)&&i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tj.pT.ready},e.prototype.markError=function(e){return this.networkStatus=tj.pT.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function t$(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!tk(e);return!n&&r&&e.data&&(n=!0),n}var tZ=Object.prototype.hasOwnProperty,t0=Object.create(null),t1=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new M.A(Q.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new eZ(!1);var r=new tT(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;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,f.vA)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,l.sH)(this,arguments,void 0,function(e){var t,r,n,i,o,a,s,u=e.mutation,c=e.variables,h=e.optimisticResponse,p=e.updateQueries,d=e.refetchQueries,v=void 0===d?[]:d,y=e.awaitRefetchQueries,m=void 0!==y&&y,b=e.update,g=e.onQueryUpdated,_=e.fetchPolicy,w=void 0===_?(null==(a=this.defaultOptions.mutate)?void 0:a.fetchPolicy)||"network-only":_,O=e.errorPolicy,E=void 0===O?(null==(s=this.defaultOptions.mutate)?void 0:s.errorPolicy)||"none":O,S=e.keepRootFields,T=e.context;return(0,l.YH)(this,function(e){switch(e.label){case 0:if((0,f.V1)(u,26),(0,f.V1)("network-only"===w||"no-cache"===w,27),t=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),r=this.getDocumentInfo(u).hasClientExports,c=this.getVariables(u,c),!r)return[3,2];return[4,this.localState.addExportedVariables(u,c,T)];case 1:c=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:u,variables:c,loading:!0,error:null}),i=h&&this.markMutationOptimistic(h,{mutationId:t,document:u,variables:c,fetchPolicy:w,errorPolicy:E,context:T,updateQueries:p,update:b,keepRootFields:S}),this.broadcastQueries(),o=this,[2,new Promise(function(e,r){return tC(o.getObservableFromLink(u,(0,l.Cl)((0,l.Cl)({},T),{optimisticResponse:i?h:void 0}),c,{},!1),function(e){if(tk(e)&&"none"===E)throw new e_.K4({graphQLErrors:tD(e)});n&&(n.loading=!1,n.error=null);var r=(0,l.Cl)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===E&&tk(r)&&delete r.errors,o.markMutationResult({mutationId:t,result:r,document:u,variables:c,fetchPolicy:w,errorPolicy:E,context:T,update:b,updateQueries:p,awaitRefetchQueries:m,refetchQueries:v,removeOptimistic:i?t:void 0,onQueryUpdated:g,keepRootFields:S})}).subscribe({next:function(t){o.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){n&&(n.loading=!1,n.error=e),i&&o.cache.removeOptimistic(t),o.broadcastQueries(),r(e instanceof e_.K4?e:new e_.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],o="no-cache"===e.fetchPolicy;if(!o&&t$(n,e.errorPolicy)){if(ek(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),ek(n)&&(0,ew.E)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),s=void 0;a.result&&(s=eD(a.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,o){var a=e.observableQuery,s=a&&a.queryName;if(s&&tZ.call(u,s)){var c=u[s],l=r.queries.get(o),f=l.document,h=l.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var v=c(d,{mutationResult:n,queryName:f&&en(f)||void 0,queryVariables:h});v&&i.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(i.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var c=[];if(this.refetchQueries({updateCache:function(t){o||i.forEach(function(e){return t.write(e)});var a,s=e.update,u=!(ek(a=n)||"hasNext"in a&&"data"in a)||ek(n)&&!n.hasNext;if(s){if(!o){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(n=(0,l.Cl)((0,l.Cl)({},n),{data:c.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}u&&s(t,n,{context:e.context,variables:e.variables})}o||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:t0}):e;return n!==t0&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,l.Cl)((0,l.Cl)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&f.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:e&&ed(["client","export"],e,!0),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:ed(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:eQ([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:es(er(e)),asQuery:(0,l.Cl)((0,l.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,l.Cl)((0,l.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,l.Cl)((0,l.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,l.Cl)((0,l.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new tX(this),n=new tU({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,f.V1)(e.query,28),(0,f.V1)("Document"===e.query.kind,29),(0,f.V1)(!e.returnPartialData,30),(0,f.V1)(!e.pollInterval,31),this.fetchQuery(t,(0,l.Cl)((0,l.Cl)({},e),{query:this.transform(e.query)})).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,f.vA)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tj.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,!1);else(0,A.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)?n.set(t.transform(e),!1):(0,A.U)(e)&&e.query&&i.add(e)}),this.queries.forEach(function(t,i){var o=t.observableQuery,a=t.document;if(o){if("all"===e)return void r.set(i,o);var s=o.queryName;if("standby"===o.options.fetchPolicy||"active"===e&&!o.hasObservers())return;("active"===e||s&&n.has(s)||a&&n.has(a))&&(r.set(i,o),s&&n.set(s,!0),a&&n.set(a,!0))}}),i.size&&i.forEach(function(e){var n=(0,tx.v)("legacyOneTimeQuery"),i=t.getQuery(n).init({document:e.query,variables:e.variables}),o=new tU({queryManager:t,queryInfo:i,options:(0,l.Cl)((0,l.Cl)({},e),{fetchPolicy:"network-only"})});(0,f.V1)(o.queryId===n),i.setObservableQuery(o),r.set(n,o)}),!1!==globalThis.__DEV__&&n.size&&n.forEach(function(e,t){e||!1===globalThis.__DEV__||f.V1.warn("string"==typeof t?33:34,t)}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),a=this.getVariables(r,a);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(i){"no-cache"!==n&&(t$(i,o)&&t.cache.write({query:r,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=tk(i),s=(0,e_.uR)(i);if(a||s){var u={};if(a&&(u.graphQLErrors=i.errors),s&&(u.protocolErrors=i.extensions[e_.K$]),"none"===o||s)throw new e_.K4(u)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,a,u).then(f);return new j(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,i){var o,a,s=this;void 0===i&&(i=null!=(o=null==t?void 0:t.queryDeduplication)?o:this.queryDeduplication);var u=this.getDocumentInfo(e),c=u.serverQuery,f=u.clientQuery;if(c){var h=this.inFlightLinkObservables,p=this.link,d={query:c,variables:r,operationName:en(c)||void 0,context:this.prepareContext((0,l.Cl)((0,l.Cl)({},t),{forceFetch:!i})),extensions:n};if(t=d.context,i){var v=eF(c),y=z(r),m=h.lookup(v,y);if(!(a=m.observable)){var b=new tF([eB(p,d)]);a=m.observable=b,b.beforeNext(function(){h.remove(v,y)})}}else a=new tF([eB(p,d)])}else a=new tF([j.of({data:{}})]),t=this.prepareContext(t);return f&&(a=tC(a,function(e){return s.localState.runResolvers({document:f,remoteResult:e,context:t,variables:r})})),a},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return tC(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=tD(o),s=a.length>0;if(n>
1=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new e_.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:tj.pT.ready};return s&&"ignore"!==r.errorPolicy&&(u.errors=a,u.networkStatus=tj.pT.error),u},function(t){var r=(0,e_.Mn)(t)?t:new e_.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=tj.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?c&&c.errorPolicy||"none":h,d=t.returnPartialData,v=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==v&&v,context:void 0===y?{}:y}),b=function(e){m.variables=e;var n=a.fetchQueryByPolicy(u,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),n},g=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new tF(this.localState.addExportedVariables(m.query,m.variables,m.context).then(b).then(function(e){return e.sources})),o=!0;else{var _=b(m.variables);o=_.fromLink,i=new tF(_.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,tx.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof tX&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=u(i,a,o)}u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,o=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,u=t.errorPolicy,c=t.returnPartialData,f=t.context,h=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:i,variables:o,networkStatus:r});var d=function(){return e.getDiff()},v=function(t,r){void 0===r&&(r=e.networkStatus||tj.pT.loading);var a=t.result;!1===globalThis.__DEV__||c||(0,eK.L)(a,{})||tY(t.missing);var s=function(e){return j.of((0,l.Cl)({data:e,loading:(0,tj.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:a},context:f,variables:o,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===u&&r===tj.pT.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},y="no-cache"===a?0:r===tj.pT.refetch&&"merge"!==s?1:2,m=function(){return n.getResultsFromLink(e,y,{query:i,variables:o,context:f,fetchPolicy:a,errorPolicy:u})},b=h&&"number"==typeof p&&p!==r&&(0,tj.bi)(r);switch(a){default:case"cache-first":var g=d();if(g.complete)return{fromLink:!1,sources:[v(g,e.markReady())]};if(c||b)return{fromLink:!0,sources:[v(g),m()]};return{fromLink:!0,sources:[m()]};case"cache-and-network":var g=d();if(g.complete||c||b)return{fromLink:!0,sources:[v(g),m()]};return{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[v(d(),e.markReady())]};case"network-only":if(b)return{fromLink:!0,sources:[v(d()),m()]};return{fromLink:!0,sources:[m()]};case"no-cache":if(b)return{fromLink:!0,sources:[v(e.getDiff()),m()]};return{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new tX(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,l.Cl)((0,l.Cl)((0,l.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function t2(e){return e.kind===eq.b.FIELD||e.kind===eq.b.FRAGMENT_SPREAD||e.kind===eq.b.INLINE_FRAGMENT}var t8=new e4,t3=new WeakMap;function t9(e){var t=t3.get(e);return t||t3.set(e,t={vars:new Set,dep:t_()}),t}
1function t6(e){t9(e).vars.forEach(function(t){return t.forgetCache(e)})}function t7(e){var t=new Set,r=new Set,n=function(o){if(arguments.length>0){if(e!==o){e=o,t.forEach(function(e){var t;t9(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var a=Array.from(r);r.clear(),a.forEach(function(t){return t(e)})}}else{var s=t8.getValue();s&&(i(s),t9(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),t9(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var t4=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=eE(t.resolvers,e)}):this.resolvers=eE(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,l.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,o=e.onlyRunForcedResolvers,a=void 0!==o&&o;return(0,l.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,a).then(function(e){return(0,l.Cl)((0,l.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 ed(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return ez(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,l.Cl)((0,l.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,l.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,l.YH)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,l.Cl)((0,l.Cl)({},t),e.exportedVariables)})]:[2,(0,l.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,eh.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 eh.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===ea(e).operation?e:(0,eh.YR)(e,{OperationDefinition:{enter:function(e){return(0,l.Cl)((0,l.Cl)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,l.sH)(this,arguments,void 0,function(e,t,r,n,i,o){var a,s,u,c,f,h,p,d,v;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===o&&(o=!1),(0,l.YH)(this,function(y){return a=ea(e),s=q(ei(e)),u=this.collectSelectionsToResolve(a,s),f=(c=a.operation)?c.charAt(0).toUpperCase()+c.slice(1):"Query",h=this,p=h.cache,d=h.client,v={fragmentMap:s,context:(0,l.Cl)((0,l.Cl)({},r),{cache:p,client:d}),variables:n,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(a.selectionSet,!1,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,l.sH)(this,void 0,void 0,function(){var i,o,a,s,u,c=this;return(0,l.YH)(this,function(h){return i=n.fragmentMap,o=n.context,a=n.variables,s=[r],u=function(e){return(0,l.sH)(c,void 0,void 0,function(){var u,c;return(0,l.YH)(this,function(l){return(t||n.selectionsToResolve.has(e))&&ep(e,a)?ee(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={})[$(e)]=t,r))})]:("InlineFragment"===e.kind?u=e:(u=i[e.name.value],(0,f.V1)(u,18,e.name.value)),u&&u.typeCondition&&(c=u.typeCondition.name.value,n.fragmentMatcher(r,c,o)))?[2,this.resolveSelectionSet(u.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(u)).then(function(){return eS(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,l.sH)(this,void 0,void 0,function(){var i,o,a,s,u,c,f,h,p,d=this;return(0,l.YH)(this,function(l){return r?(i=n.variables,s=(o=e.name.value)!==(a=$(e)),c=Promise.resolve(u=r[a
1]||r[o]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||n.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[s?o:a])&&(c=Promise.resolve(t8.withValue(this.cache,p,[r,X(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,c.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||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)?d.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var 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 o=new Set;n.set(i,o),(0,eh.YR)(i,{Directive:function(e,t,n,i,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&t2(e)&&o.add(e)})},FragmentSpread:function(n,i,a,s,u){var c=t[n.name.value];(0,f.V1)(c,19,n.name.value);var l=e(c);l.size>0&&(u.forEach(function(e){r(e)&&t2(e)&&o.add(e)}),o.add(n),l.forEach(function(e){o.add(e)}))}})}return n.get(i)}(e)},e}(),t5=r(18877),re=!1,rt=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,f.vA)(15);var r=e.uri,n=e.credentials,i=e.headers,o=e.cache,a=e.documentTransform,s=e.ssrMode,u=void 0!==s&&s,c=e.ssrForceFetchDelay,h=void 0===c?0:c,p=e.connectToDevTools,d=e.queryDeduplication,v=void 0===d||d,y=e.defaultOptions,m=e.defaultContext,b=e.assumeImmutableResults,g=void 0===b?o.assumeImmutableResults:b,_=e.resolvers,w=e.typeDefs,O=e.fragmentMatcher,E=e.name,S=e.version,T=e.devtools,C=e.link;C||(C=r?new eJ({uri:r,credentials:n,headers:i}):ef.empty()),this.link=C,this.cache=o,this.disableNetworkFetches=u||h>0,this.queryDeduplication=v,this.defaultOptions=y||Object.create(null),this.typeDefs=w,this.devtoolsConfig=(0,l.Cl)((0,l.Cl)({},T),{enabled:(null==T?void 0:T.enabled)||p}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled="object"==typeof window&&window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__),h&&setTimeout(function(){return t.disableNetworkFetches=!1},h),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=eY.r,this.localState=new t4({cache:o,client:this,resolvers:_,fragmentMatcher:O}),this.queryManager=new t1({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:m,documentTransform:a,queryDeduplication:v,ssrMode:u,clientAwareness:{name:E,version:S},localState:this.localState,assumeImmutableResults:g,onBroadcast:this.devtoolsConfig.enabled?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}re||!1===globalThis.__DEV__||(re=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&/^(https?|file):$/.test(window.location.protocol)){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__&&f.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=(0,t5.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,l.Cl)((0,l.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,t5.l)(this.defaultOptions.query,e)),(0,f.V1)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,l.Cl)((0,l.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,t5.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},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 eB(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__&&f.V1.debug(17,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__&&(rt.prototype.getMemoryInternals=L.ep);var rr=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=tE(P,{max:Q.v["cache.fragmentQueryDocuments"]||1e3,cache:e0.l})}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.Cl)((0,l.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,o=e.from,a=e.optimistic,s=(0,l.Tt)(e,["fragment","fragmentName","from","optimistic"]),u=this.getFragmentDoc(n,i),c=(0,l.Cl)((0,l.Cl)({},s),{returnPartialData:!0,id:"string"==typeof o?o:this.identify(o),query:u,optimistic:void 0===a||a});return new j(function(e){return r.watch((0,l.Cl)((0,l.Cl)({},c),{immediate:!0,callback:function(r){if(!(t&&tV(u,{data:null==t?void 0:t.result},{data:r.result}))){var n={data:r.result,complete:!!r.complete};r.missing&&(n.missing=eS(r.missing.map(function(e){return e.missing}))),t=r,e.next(n)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,l.Cl)((0,l.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,n=(0,l.Tt)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,i=e.fragmentName,o=(0,l.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),i=t(n);return null==i?n:(r.writeQuery((0,l.Cl)((0,l.Cl)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),i=t(n);return null==i?n:(r.writeFragment((0,l.Cl)((0,l.Cl)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(rr.prototype.getMemoryInternals=L.tQ);var rn=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,l.C6)(t,e),t}(Error),ri=r(21500),ro=Object.prototype.hasOwnProperty;function ra(e){return null==e}function rs(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=ra(n)?ra(i)?void 0:{_id:i}:{id:n}),ra(n)&&!ra(i)&&(n=i),!ra(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var ru={dataIdFromObject:rs,addTypename:!0,resultCaching:!0,canonizeResults:!1};function rc(e){var t=e.canonizeResults;return void 0===t?ru.canonizeResults:t}var rl=/^[_a-z][_0-9a-z]*/i;function rf(e){var t=e.match(rl);return t?t[0]:e}function rh(e){return(0,A.U)(e)&&!Y(e)&&!(0,ew.c)(e)}function rp(e,t){var r=q(ei(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var rd=Object.create(null),rv=function(){return rd},ry=Object.create(null),rm=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,ri.G)(Y(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return Y(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return B(e);if(Y(e))return e;var n=r.policies.identify(e)[0];if(n){var i=B(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,l.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),ro.call(this.data,e)){var r=this.data[e];if(r&&ro.call(r,t))return r[t]}return"__typename"===t&&ro.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof r_?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),ro.call(this.data,e))?this.data[e]:this instanceof r_?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;Y(e)&&(e=e.__ref),Y(t)&&(t=t.__ref);
1var i="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,f.V1)("string"==typeof r,1);var a=new eC(rO).merge(i,o);if(this.data[r]=a,a!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==a[e]){s[e]=1;var t=rf(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof r_||delete a[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var i=Object.create(null),o=!1,a=!0,s={DELETE:rd,INVALIDATE:ry,isReference:Y,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||B(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(u){var c=rf(u),h=n[u];if(void 0!==h){var p="function"==typeof t?t:t[u]||t[c];if(p){var d=p===rv?rd:p((0,ri.G)(h),(0,l.Cl)((0,l.Cl)({},s),{fieldName:c,storeFieldName:u,storage:r.getStorage(e,u)}));if(d===ry)r.group.dirty(e,u);else if(d===rd&&(d=void 0),d!==h&&(i[u]=d,o=!0,h=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&f.V1.warn(2,e),!0};if(Y(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,b=0,g=d;b<g.length;b++){var _=g[b];if(Y(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&f.V1.warn(3,m);break}}}}void 0!==h&&(a=!1)}}),o)return this.merge(e,i),a&&(this instanceof r_?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]=rv,n):rv)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(ro.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof r_&&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){ro.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&&ro.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,l.Tt)(e,["__META"]);Object.keys(n).forEach(function(e){t.merge(e,n[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof r_?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){ro.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 r_;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!ro.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){Y(e)&&(t[e.__ref]=!0),(0,A.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,A.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),rb=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?t_():null,this.keyMaker=new eZ(em.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=rf(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 rg(e,t){rE(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 rb(void 0===n||n))||this;return o.stump=new rw(o),o.storageTrie=new eZ(em.et),i&&o.replace(i),o}return(0,l.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}(rm||(rm={}));var r_=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,l.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,eK.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,l.Cl)((0,l.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return ro.call(this.data,t)?(0,l.Cl)((0,l.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}(rm),rw=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new rb(t.group.caching,t.group))||this}return(0,l.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(r_);function rO(e,t,r){var n=e[r],i=t[r];return(0,eK.L)(n,i)?n:i}function rE(e){return!!(e instanceof rm&&e.group.caching)}var rS=function(){function e(){this.known=new(em.En?WeakSet:Set),this.pool=new eZ(em.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,A.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,A.U)(e)){var t=(0,A.U)(e)?(0,ew.c)(e)?e.slice(0):(0,l.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,A.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))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 c=i.object=Object.create(o);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=a[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}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 rT(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var rC=function(){function e(e){var t=this;this.knownResults=new(em.et?WeakMap:Map),this.config=(0,tA.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:rc(e)}),this.canon=e.canon||new rS,this.executeSelectionSet=tE(function(e){var r,n=e.context.canonizeResults,i=rT(e);i[3]=!n;var o=(r=t.executeSelectionSet).peek.apply(r,i);return o?n?(0,l.Cl)((0,l.Cl)({},o),{result:t.canon.admit(o.result)}):o:(rg(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:rT,makeCacheKey:function(e,t,r,n){if(rE(r.store))return r.store.makeCacheKey(e,Y(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=tE(function(e){return rg(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(rE(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new rS},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,o=e.variables,a=e.returnPartialData,s=e.canonizeResults,u=void 0===s?this.config.canonizeResults:s,c=this.config.cache.policies;o=(0,l.Cl)((0,l.Cl)({},es(eo(n))),o);var f=B(void 0===i?"ROOT_QUERY":i),h=this.executeSelectionSet({selectionSet:ea(n).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,l.Cl)({store:r,query:n,policies:c,variables:o,varString:z(o),canonizeResults:u},rp(n,this.config.fragments))});if(h.missing&&(t=[new rn(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,n,o)],!(void 0===a||a)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(rE(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,i=e.objectOrReference,o=e.enclosingRef,a=e.context;if(Y(i)&&!a.policies.rootTypenamesById[i.__ref]&&!a.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=a.variables,u=a.policies,c=a.store.getFieldValue(i,"__typename"),l=[],h=new eC;function p(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof c&&!u.rootIdsByTypename[c]&&l.push({__typename:c}
1);var d=new Set(n.selections);d.forEach(function(e){var n,v;if(ep(e,s))if(ee(e)){var y=u.readField({fieldName:e.name.value,field:e,variables:a.variables,from:i},a),m=$(e);void 0===y?eL.added(e)||(t=h.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat(Y(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,ew.c)(y)?y.length>0&&(y=p(r.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:a}),m)):e.selectionSet?null!=y&&(y=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:Y(y)?y:o,context:a}),m)):a.canonizeResults&&(y=r.canon.pass(y)),void 0!==y&&l.push(((v={})[m]=y,v))}else{var b=V(e,a.lookupFragment);if(!b&&e.kind===eq.b.FRAGMENT_SPREAD)throw(0,f.vA)(9,e.name.value);b&&u.fragmentMatches(b,c)&&b.selectionSet.selections.forEach(d.add,d)}});var v={result:eS(l),missing:t},y=a.canonizeResults?this.canon.admit(v):(0,ri.G)(v);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.enclosingRef,a=e.context,s=new eC;function u(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(a.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,ew.c)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:a}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:Y(e)?e:o,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,A.U)(r)&&((0,f.V1)(!Y(r),10,Y(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),rk=r(62091),rD=Object.create(null);function rx(e){var t=JSON.stringify(e);return rD[t]||(rD[t]=Object.create(null))}function rI(e){var t=rx(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=rN(e,function(e){var i=rj(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&ro.call(t,e[0])&&(i=rj(t,e,rF)),(0,f.V1)(void 0!==i,4,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function rR(e){var t=rx(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(rN(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,ew.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),u=s&&X(s,i);return u&&rj(u,e.slice(1))}return}if("$"===o){var c=r.slice(1);if(i&&ro.call(i,c)){var l=e.slice(0);return l[0]=c,rj(i,l)}return}if(t)return rj(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function rN(e,t){var r=new eC;return(function e(t){var r=rx(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,ew.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,ew.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 rF(e,t){return e[t]}function rj(e,t,r){return r=r||rF,function e(t){return(0,A.U)(t)?(0,ew.c)(t)?t.map(e):rN(Object.keys(t).sort(),function(e){return rj(t,e)}):t}(t.reduce(function e(t,n){return(0,ew.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function rA(e){return void 0!==e.args?e.args:e.field?X(e.field,e.variables):null}var rP=function(){},rq=function(e,t){return t.fieldName},rV=function(e,t,r){return(0,r.mergeObjects)(e,t)},rM=function(e,t){return t},rQ=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,l.Cl)({dataIdFromObject:rs},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,n,i=this,o=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=t&&t.storeObject||e,s=(0,l.Cl)((0,l.Cl)({},t),{typename:o,storeObject:a,readField:t&&t.readField||function(){var e=rz(arguments,a);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),u=o&&this.getTypePolicy(o),c=u&&u.keyFn||this.config.dataIdFromObject;c;){var f=c((0,l.Cl)((0,l.Cl)({},e),a),s);if((0,ew.c)(f))c=rI(f);else{n=f;break}}return n=n?String(n):void 0,s.keyObject?[n,s.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,s=(0,l.Tt)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),ro.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?rV:!1===t?rM:e.merge}a(n,t.merge),n.keyFn=!1===i?rP:(0,ew.c)(i)?rI(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?rq:(0,ew.c)(s)?rR(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||rq)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,f.V1)(!n||n===e,5,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(rl);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!ro.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,i){if(r.test(e)){var o=t.supertypeMap.get(i);o&&o.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),i=n.fields;Object.assign(r,(0,l.Tt)(n,["fields"])),Object.assign(r.fields,i)})}var i=this.toBeAdded[e];return i&&i.length&&i.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 i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},c=!!(r&&this.fuzzySubtypes.size),l=!1,h=0;h<s.length;++h){var p=s[h];if(p.has(o))return a.has(o)||(l&&!1!==globalThis.__DEV__&&f.V1.warn(6,t,o),a.add(o)),!0;p.forEach(u),c&&h===s.length-1&&function e(t,r,n){return!!(0,A.U)(r)&&((0,ew.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if(ee(t)&&ep(t,n)){var i=$(t);return ro.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(c=!1,l=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(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,n,i,o,a=e.typename,s=e.fieldName,u=this.getFieldPolicy(a,s,!1),c=u&&u.keyFn;if(c&&a)for(var l={typename:a,fieldName:s,field:e.field||null,variables:e.variables},f=rA(e);c;){var h=c(f,l);if((0,ew.c)(h))c=rR(h);else{o=h||s;break}}return(void 0===o&&(o=e.field?(t=e.field,r=e.variables,n=null,t.directives&&(n={},t.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(t){var i=t.name,o=t.value;return J(n[e.name.value],i,o,r)})})),i=null,t.arguments&&t.arguments.length&&(i={},t.arguments.forEach(function(e){var t=e.name,n=e.value;return J(i,t,n,r)})),G(t.name.value,i,n)):G(s,rA(e))),!1===o)?s:s===rf(o)?o:s+":"+o},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=rf(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),u=s&&s.read;if(u){var c=rL(this,r,e,t,t.store.getStorage(Y(r)?r.__ref:r,i));return t8.withValue(this.cache,u,[a,c])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===rV?rU(n.store)(e,t):s===rM?t:(n.overwrite&&(e=void 0),s(e,t,rL(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function rL(e,t,r,n,i){var o=e.getStoreFieldName(r),a=rf(o),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:rA(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:Y,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(rz(arguments,t,s),n)},mergeObjects:rU(n.store)}}function rz(e,t,r){var n,i=e[0],o=e[1],a=e.length;return"string"==typeof i?n={fieldName:i,from:a>1?o:t}:(n=(0,l.Cl)({},i),ro.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&f.V1.warn(7,(0,rk.p)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function rU(e){return function(t,r){if((0,ew.c)(t)||(0,ew.c)(r))throw(0,f.vA)(8);if((0,A.U)(t)&&(0,A.U)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if(Y(t)&&rh(r))return e.merge(t.__ref,r),t;if(rh(t)&&Y(r))return e.merge(t,r.__ref),r;if(rh(t)&&rh(r))return(0,l.Cl)((0,l.Cl)({},t),r)}return r}}function rW(e,t,r){var n="".concat(t).concat(r),i=e.flavors.get(n);return i||e.flavors.set(n,i=e.clientOnly===t&&e.deferred===r?e:(0,l.Cl)((0,l.Cl)({},e),{clientOnly:t,deferred:r})),i}var rB=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,i=t.result,o=t.dataId,a=t.variables,s=t.overwrite,u=er(n),c=new eC;a=(0,l.Cl)((0,l.Cl)({},es(u)),a);var h=(0,l.Cl)((0,l.Cl)({store:e,written:Object.create(null),merge:function(e,t){return c.merge(e,t)},variables:a,varString:z(a)},rp(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:i||Object.create(null),dataId:o,selectionSet:u.selectionSet,mergeTree:{map:new Map},context:h});if(!Y(p))throw(0,f.vA)(11,i);
1return h.incomingById.forEach(function(t,n){var i=t.storeObject,o=t.mergeTree,a=t.fieldNodeSet,s=B(n);if(o&&o.map.size){var u=r.applyMerges(o,s,i,h);if(Y(u))return;i=u}if(!1!==globalThis.__DEV__&&!h.overwrite){var c=Object.create(null);a.forEach(function(e){e.selectionSet&&(c[e.name.value]=!0)});var p=function(e){var t=o&&o.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==c[rf(e)]||p(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},o=i(e);if(o){var a=i(t);if(!(!a||Y(o)||(0,eK.L)(o,a)||Object.keys(o).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),u=rf(r),c="".concat(s,".").concat(u);if(!rG.has(c)){rG.add(c);var h=[];(0,ew.c)(o)||(0,ew.c)(a)||[o,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&f.V1.warn(14,u,s,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",c,(0,l.Cl)({},o),(0,l.Cl)({},a))}}}}(s,i,e,h.store)})}e.merge(n,i)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,u=Object.create(null),c=r&&s.rootTypenamesById[r]||Z(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof c&&(u.__typename=c);var h=function(){var e=rz(arguments,u,o.variables);if(Y(e.from)){var t=o.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,l.Cl)((0,l.Cl)({},e),{from:t.storeObject}),o);if(void 0!==r)return r}}return s.readField(e,o)},p=new Set;this.flattenFields(i,n,o,c).forEach(function(e,r){var i,o=n[$(r)];if(p.add(r),void 0!==o){var l=s.getStoreFieldName({typename:c,fieldName:r.name.value,field:r,variables:e.variables}),d=rJ(a,l),v=t.processFieldValue(o,r,r.selectionSet?rW(e,!1,!1):e,d),y=void 0;r.selectionSet&&(Y(v)||rh(v))&&(y=h("__typename",v));var m=s.getMergeFunction(c,r.name.value,y);m?d.info={field:r,typename:c,merge:m}:rH(a,l),u=e.merge(u,((i={})[l]=v,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||eL.added(r)||s.getReadFunction(c,r.name.value)||!1===globalThis.__DEV__||f.V1.error(12,$(r),n)});try{var d=s.identify(n,{typename:c,selectionSet:i,fragmentMap:o.fragmentMap,storeObject:u,readField:h}),v=d[0],y=d[1];r=r||v,y&&(u=o.merge(u,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=B(r),b=o.written[r]||(o.written[r]=[]);if(b.indexOf(i)>=0||(b.push(i),this.reader&&this.reader.isFresh(n,m,i,o)))return m;var g=o.incomingById.get(r);return g?(g.storeObject=o.merge(g.storeObject,u),g.mergeTree=function e(t,r){if(t===r||!r||rK(r))return t;if(!t||rK(t))return r;var n=t.info&&r.info?(0,l.Cl)((0,l.Cl)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,o={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var a=new Set(r.map.keys());t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(g.mergeTree,a),p.forEach(function(e){return g.fieldNodeSet.add(e)})):o.incomingById.set(r,{storeObject:u,mergeTree:rK(a)?void 0:a,fieldNodeSet:p}),m}return u},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,ew.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,rJ(n,o));return rH(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?tq(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=Z(t,e,r.fragmentMap));var i=new Map,o=this.cache.policies,a=new eZ(!1);return!function e(s,u){var c=a.lookup(s,u.clientOnly,u.deferred);c.visited||(c.visited=!0,s.selections.forEach(function(a){if(ep(a,r.variables)){var s=u.clientOnly,c=u.deferred;if(!(s&&c)&&(0,ew.E)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=X(e,r.variables);n&&!1===n.if||(c=!0)}}),ee(a)){var l=i.get(a);l&&(s=s&&l.clientOnly,c=c&&l.deferred),i.set(a,rW(r,s,c))}else{var h=V(a,r.lookupFragment);if(!h&&a.kind===eq.b.FRAGMENT_SPREAD)throw(0,f.vA)(13,a.name.value);h&&o.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,rW(r,s,c))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var o=this;if(e.map.size&&!Y(r)){var a,s,u=!(0,ew.c)(r)&&(Y(t)||rh(t))?t:void 0,c=r;u&&!i&&(i=[Y(u)?u.__ref:u]);var h=function(e,t){return(0,ew.c)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=h(u,t),a=h(c,t);if(void 0!==a){i&&i.push(t);var l=o.applyMerges(e,r,a,n,i);l!==a&&(s=s||new Map).set(t,l),i&&(0,f.V1)(i.pop()===t)}}),s&&(r=(0,ew.c)(c)?c.slice(0):(0,l.Cl)({},c),s.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(a=n.store).getStorage.apply(a,i)):r},e}(),rY=[];function rJ(e,t){var r=e.map;return r.has(t)||r.set(t,rY.pop()||{map:new Map}),r.get(t)}function rK(e){return!e||!(e.info||e.map.size)}function rH(e,t){var r=e.map,n=r.get(t);n&&rK(n)&&(rY.push(n),r.delete(t))}var rG=new Set,rX=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new tT(eL),n.assumeImmutableResults=!0,n.makeVar=t7,n.txCount=0,r=t,n.config=(0,tA.o)(ru,r),n.addTypename=!!n.config.addTypename,n.policies=new rQ({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,l.C6)(t,e),t.prototype.init=function(){var e=this.data=new rm.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 rB(this,this.storeReader=new rC({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:rc(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=tE(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||Q.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(rE(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,z({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,l.Cl)((0,l.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof rn)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(ro.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,l.Cl)((0,l.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,r=this;return this.watches.size||(t=this,t9(t).vars.forEach(function(e){return e.attachCache(t)})),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){r.watches.delete(e)&&!r.watches.size&&t6(r),r.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){z.reset(),eF.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(Y(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&f.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(ro.call(e,"id"))return!1;e=(0,l.Cl)((0,l.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(),z.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),t6(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,i=e.optimistic,o=void 0===i||i,a=e.removeOptimistic,s=e.onWatchUpdated,u=function(e){var i=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=o}},c=new Set;return s&&!this.txCount&&this.broadcastWatches((0,l.Cl)((0,l.Cl)({},e),{onWatchUpdated:function(e){return c.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&c.size?(this.broadcastWatches((0,l.Cl)((0,l.Cl)({},e),{onWatchUpdated:function(e,t){var r=s.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.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,eK.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(rr);function r$(e){return new ef(function(t,r){return new j(function(n){var i,o,a;try{i=r(t).subscribe({next:function(i){if(i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}))){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){o=a.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){a||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!1!==globalThis.__DEV__&&(rX.prototype.getMemoryInternals=L.cM),!function(e){function t(t){var r=e.call(this)||this;return r.link=r$(t),r}(0,l.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(ef);let rZ=eW({uri:"https://kantata.marketing/graphql"}),r0=(o=(e,{headers:t})=>({headers:{...t}}),new ef(function(e,t){var r=(0,l.Tt)(e,[]);return new j(function(n){var i,a=!1;return Promise.resolve(r).then(function(t){return o(t,e.getContext())}).then(e.setContext).then(function(){a||(i=t(e).subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}))}).catch(n.error.bind(n)),function(){a=!0,i&&i.unsubscribe()}})})),r1=r$(({networkError:e,graphQLErrors:t})=>{t&&t.map(({message:e,locations:t,path:r})=>console.log(" [GraphQL error]: Message",e,", Location: ",t,", Path: ",r)),e&&console.log(" [Network error]:",e)});var r2=r(12196),r8=r(94676),r3=r.n(r8);r(32237),r(24495);let r9=(e,t,r)=>{let n=new Date;n.setTime(n.getTime()+24*r*36e5);let i="; expires="+n.toUTCString();document.cookie=`${e}=${t}${i};path=/`},r6=e=>{let t=`; ${document.cookie}`.split(`; ${e}=`);return 2===t.length?t.pop().split(";").shift():null},r7=function({Component:e,pageProps:t}){var r;(0,c.useEffect)(()=>{let e=()=>{window.CookieConsent?.consent?.marketing===!0&&(r6("landingPageUrl")||r9("landingPageUrl",window.location.href.split("?")[0],365),["gclid","msclkid","utm_campaign","utm_content","utm_medium","utm_source","utm_term"].forEach(e
1=>{if(!r6(e)){let t=(e=>{let t=window.location.href;e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");let r=RegExp(`[\\?&]${e}=([^&#]*)`).exec(t);return r?r[1]:null})(e);t&&r9(e,t,365)}}))};if(window.CookieConsent)e();else{let t=setInterval(()=>{window.CookieConsent&&(e(),clearInterval(t))},100);return()=>clearInterval(t)}},[]);let[n,o]=(0,c.useState)(!1);(0,c.useEffect)(()=>{"true"===localStorage.getItem("pricingFormFilled")&&o(!0)},[]);let a=()=>{localStorage.setItem("pricingFormFilled","true"),o(!0)},s=(r=t.initialApolloState,(0,c.useMemo)(()=>((e=null)=>{let t=i??new rt({ssrMode:!1,link:r1.concat(r0.concat(rZ)),cache:new rX({typePolicies:{Query:{fields:{categories:{merge:(e=[],t)=>({...e,...t})}}},Whitepaper:{fields:{whitepaperGlobalFields:{merge:(e=[],t)=>({...e,...t})}}}}})});if(e){let r=t.extract();t.cache.restore({...r,...e})}return i||(i=t),t})(r),[r]));return(0,c.useMemo)(()=>({pricingFilled:n,setPricingFilledTrue:a}),[n]),(0,u.jsx)(d,{client:s,children:(0,u.jsx)(r2.A.Provider,{value:{pricingFilled:n,setPricingFilledTrue:a},children:(0,u.jsx)("div",{className:r3().className,children:(0,u.jsx)(e,{...t})})})})}},17070:(e,t,r)=>{"use strict";r.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>c});var n=r(4902),i=r(80593),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:p(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)({},l.apply(this)),{addTypenameDocumentTransform:p(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null==e?void 0:e.findFragmentSpreads),lookup:f(null==e?void 0:e.lookup),transform:f(null==e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return e&&"dirtyKey"in e?e.size:void 0}function h(e){return null!=e}function p(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}})}},17318:(e,t,r)=>{"use strict";r.d(t,{Sf:()=>d,V1:()=>m,no:()=>p,vA:()=>b});var n=r(4902),i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return(0,n.C6)(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c=["debug","log","warn","error","silent"],l=c.indexOf("log");function f(e){return function(){if(c.indexOf(e)>=l)return(console[e]||console.log).apply(console,arguments)}}!function(e){e.debug=f("debug"),e.log=f("log"),e.warn=f("warn"),e.error=f("error")}(u||(u={}));var h=r(84918);function p(e){try{return e()}catch(e){}}let d=p(function(){return globalThis})||p(function(){return window}
1)||p(function(){return self})||p(function(){return global})||p(function(){return p.constructor("return this")()});var v=r(62091);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=w(i))||(t=O(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var m=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||u(e,w(t,r)||O(t,r))},{debug:y(u.debug),log:y(u.log),warn:y(u.warn),error:y(u.error)});function b(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new s(w(e,t)||O(e,t))}var g=Symbol.for("ApolloErrorMessageHandler_"+h.r);function _(e){if("string"==typeof e)return e;try{return(0,v.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function w(e,t){if(void 0===t&&(t=[]),e)return d[g]&&d[g](e,t.map(_))}function O(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(_)})))}globalThis.__DEV__},18659:(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))}},18877:(e,t,r)=>{"use strict";r.d(t,{l:()=>o});var n=r(4902),i=r(79760);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},20996:(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=c(t),o=c(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 c(e){return Object.keys(e).filter(l,e)}function l(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}},21500:(e,t,r)=>{"use strict";r.d(t,{G:()=>i});var n=r(93957);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}},24495:()=>{},32237:()=>{},35785:(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}},36898:(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)}}},47518:(e,t,r)=>{"use strict";r.d(t,{OC:()=>i,yo:()=>o});var n=r(7743);function i(e){var t,r;let i=Number.MAX_SAFE_INTEGER,o=null,a=-1;for(let t=0;t<e.length;++t){let s=e[t],u=function(e){let t=0;for(;t<e.length&&(0,n.i0)(e.charCodeAt(t));)++t;return t}(s);u!==s.length&&(o=null!=(r=o)?r:t,a=t,0!==t&&u<i&&(i=u))}return e.map((e,t)=>0===t?e:e.slice(i)).slice(null!=(t=o)?t:0,a+1)}function o(e,t){let r=e.replace(/"""/g,'\\"""'),i=r.split(/\r\n|[\n\r]/g),o=1===i.length,a=i.length>1&&i.slice(1).every(e=>0===e.length||(0,n.i0)(e.charCodeAt(0))),s=r.endsWith('\\"""'),u=e.endsWith('"')&&!s,c=e.endsWith("\\"),l=u||c,f=!(null!=t&&t.minimize)&&(!o||e.length>70||l||a||s),h="",p=o&&(0,n.i0)(e.charCodeAt(0));return(f&&!p||a)&&(h+="\n"),h+=r,(f||l)&&(h+="\n"),'"""'+h+'"""'}},56556:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(12827)}])},58287:(e,t,r)=>{"use strict";function n(e,t){if(!e)throw Error(t)}r.d(t,{U:()=>n})},60427:(e,t,r)=>{"use strict";
1e.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(14232))},62091:(e,t,r)=>{"use strict";r.d(t,{p:()=>i});var n=r(18659);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>")}},66434:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{bi:()=>i,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},74968:(e,t,r)=>{"use strict";r.d(t,{YR:()=>u,sP:()=>s});var n=r(58287),i=r(77016),o=r(86158),a=r(94587);let s=Object.freeze({});function u(e,t,r=o.aD){let c,l,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 p=Array.isArray(e),d=[e],v=-1,y=[],m=e,b=[],g=[];do{var _,w,O;let e,a=++v===d.length,u=a&&0!==y.length;if(a){if(l=0===g.length?void 0:b[b.length-1],m=f,f=g.pop(),u)if(p){m=m.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else for(let[e,t]of(m={...m},y))m[e]=t;v=c.index,d=c.keys,y=c.edits,p=c.inArray,c=c.prev}else if(f){if(null==(m=f[l=p?v:d[v]]))continue;b.push(l)}if(!Array.isArray(m)){(0,o.Ll)(m)||(0,n.U)(!1,`Invalid AST Node: ${(0,i.N)(m)}.`);let r=a?null==(_=h.get(m.kind))?void 0:_.leave:null==(w=h.get(m.kind))?void 0:w.enter;if((e=null==r?void 0:r.call(t,m,l,f,b,g))===s)break;if(!1===e){if(!a){b.pop();continue}}else if(void 0!==e&&(y.push([l,e]),!a))if((0,o.Ll)(e))m=e;else{b.pop();continue}}void 0===e&&u&&y.push([l,m]),a?b.pop():(c={inArray:p,index:v,keys:d,edits:y,prev:c},d=(p=Array.isArray(m))?m:null!=(O=r[m.kind])?O:[],v=-1,y=[],f&&g.push(f),f=m)}while(void 0!==c);return 0!==y.length?y[y.length-1][1]:e}},77016:(e,t,r)=>{"use strict";function n(e){return function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t)){var i=t,o=n;if(0===i.length)return"[]";if(o.length>2)return"[Array]";let r=Math.min(10,i.length),a=i.length-r,s=[];for(let t=0;t<r;++t)s.push(e(i[t],o));return 1===a?s.push("... 1 more item"):a>1&&s.push(`... ${a} more items`),"["+s.join(", ")+"]"}var a=t,s=n;let u=Object.entries(a);return 0===u.length?"{}":s.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(a)+"]":"{ "+u.map(([t,r])=>t+": "+e(r,s)).join(", ")+" }"}(t,r);default:return String(t)}}(e,[])}r.d(t,{N:()=>n})},79760:(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})},80542:(e,t,r)=>{"use strict";r.d(t,{En:()=>a,JR:()=>f,Sw:()=>c,et:()=>o,ol:()=>s,uJ:()=>u});var n=r(17318),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,c="function"==typeof(0,n.no)(function(){return window.document.createElement}),l=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},80593:(e,t,r)=>{"use strict";r.d(t,{v:()=>a});var n=r(4902),i=r(17318),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},83070:(e,t,r)=>{"use strict";r.d(t,{K$:()=>o,K4:()=>c,Mn:()=>s,uR:()=>a});var n=r(4902);r(17318);var i=r(93957),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")},c=function(e){function t(r){var i=r.graphQLErrors,o=r.protocolErrors,a=r.clientErrors,s=r.networkError,c=r.errorMessage,l=r.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=i||[],f.protocolErrors=o||[],f.clientErrors=a||[],f.networkError=s||null,f.message=c||u(f),f.extraInfo=l,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)},84918:(e,t,r)=>{"use strict";r.d(t,{r:()=>n});var n="3.11.0"},86158:(e,t,r)=>{"use strict";var n;r.d(t,{Ll:()=>u,aD:()=>a,aZ:()=>i,cE:()=>n,ou:()=>o});class i{constructor(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}get[Symbol.toStringTag](){return"Location"}toJSON(){return{start:this.start,end:this.end}}}class o{constructor(e,t,r,n,i,o){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=o,this.prev=null,this.next=null}get[Symbol.toStringTag](){return"Token"}toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}}}let a={Name:[],Document:["definitions"],OperationDefinition:["description","name","variableDefinitions","directives","selectionSet"],VariableDefinition:["description","variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["description","name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
1Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"],TypeCoordinate:["name"],MemberCoordinate:["name","memberName"],ArgumentCoordinate:["name","fieldName","argumentName"],DirectiveCoordinate:["name"],DirectiveArgumentCoordinate:["name","argumentName"]},s=new Set(Object.keys(a));function u(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&s.has(t)}!function(e){e.QUERY="query",e.MUTATION="mutation",e.SUBSCRIPTION="subscription"}(n||(n={}))},93957:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e}r.d(t,{U:()=>n})},94587:(e,t,r)=>{"use strict";var n;r.d(t,{b:()=>n}),function(e){e.NAME="Name",e.DOCUMENT="Document",e.OPERATION_DEFINITION="OperationDefinition",e.VARIABLE_DEFINITION="VariableDefinition",e.SELECTION_SET="SelectionSet",e.FIELD="Field",e.ARGUMENT="Argument",e.FRAGMENT_SPREAD="FragmentSpread",e.INLINE_FRAGMENT="InlineFragment",e.FRAGMENT_DEFINITION="FragmentDefinition",e.VARIABLE="Variable",e.INT="IntValue",e.FLOAT="FloatValue",e.STRING="StringValue",e.BOOLEAN="BooleanValue",e.NULL="NullValue",e.ENUM="EnumValue",e.LIST="ListValue",e.OBJECT="ObjectValue",e.OBJECT_FIELD="ObjectField",e.DIRECTIVE="Directive",e.NAMED_TYPE="NamedType",e.LIST_TYPE="ListType",e.NON_NULL_TYPE="NonNullType",e.SCHEMA_DEFINITION="SchemaDefinition",e.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",e.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",e.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",e.FIELD_DEFINITION="FieldDefinition",e.INPUT_VALUE_DEFINITION="InputValueDefinition",e.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",e.UNION_TYPE_DEFINITION="UnionTypeDefinition",e.ENUM_TYPE_DEFINITION="EnumTypeDefinition",e.ENUM_VALUE_DEFINITION="EnumValueDefinition",e.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",e.DIRECTIVE_DEFINITION="DirectiveDefinition",e.SCHEMA_EXTENSION="SchemaExtension",e.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",e.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",e.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",e.UNION_TYPE_EXTENSION="UnionTypeExtension",e.ENUM_TYPE_EXTENSION="EnumTypeExtension",e.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension",e.TYPE_COORDINATE="TypeCoordinate",e.MEMBER_COORDINATE="MemberCoordinate",e.ARGUMENT_COORDINATE="ArgumentCoordinate",e.DIRECTIVE_COORDINATE="DirectiveCoordinate",e.DIRECTIVE_ARGUMENT_COORDINATE="DirectiveArgumentCoordinate"}(n||(n={}))},94676:e=>{e.exports={style:{fontFamily:"'manrope', 'manrope Fallback'"},className:"__className_a68f80",variable:"__variable_a68f80"}},94852:(e,t,r)=>{"use strict";r.d(t,{l:()=>u});var n,i=r(60427),o=r(80542),a=r(17318),s=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.V1)("createContext"in(n||(n=r.t(i,2))),45);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}
1),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},95682:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,V:()=>u});var n=r(99853),i=r(36898),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}},99853:(e,t,r)=>{"use strict";function n(){}r.d(t,{l:()=>s});let i="undefined"!=typeof WeakRef?WeakRef:function(e){return{deref:()=>e}},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))}}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(56556),t(16296))),_N_E=e.O()}]);

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.