PageSourceSearch

https://2026.pycon.it/_next/static/chunks/2p93855w20rdw.js

js pycon.it collected 2026-10-02 06:39:31 UTC 128,881 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,67515,(e,t,r)=>{"use strict";var n=function(e){var t,r,n;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(n=Object.prototype.toString.call(r))&&"[object Date]"!==n&&r.$$typeof!==i)},i="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function a(e,t){return!1!==t.clone&&t.isMergeableObject(e)?u(Array.isArray(e)?[]:{},e,t):e}function o(e,t,r){return e.concat(t).map(function(e){return a(e,r)})}function s(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function c(e,t){try{return t in e}catch(e){return!1}}function u(e,t,r){(r=r||{}).arrayMerge=r.arrayMerge||o,r.isMergeableObject=r.isMergeableObject||n,r.cloneUnlessOtherwiseSpecified=a;var i,l,f=Array.isArray(t);return f!==Array.isArray(e)?a(t,r):f?r.arrayMerge(e,t,r):(l={},(i=r).isMergeableObject(e)&&s(e).forEach(function(t){l[t]=a(e[t],i)}),s(t).forEach(function(r){c(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))||(c(e,r)&&i.isMergeableObject(t[r])?l[r]=(function(e,t){if(!t.customMerge)return u;var r=t.customMerge(e);return"function"==typeof r?r:u})(r,i)(e[r],t[r],i):l[r]=a(t[r],i))}),l)}u.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return u(e,r,t)},{})},t.exports=u},63306,(e,t,r)=>{t.exports={possibleTypes:{AvailableCards:["PriceCard","SimpleTextCard"],BadgeScanScanError:["BadgeScan","ScanError"],Block:["CMSMap","CheckoutSection","CommunitiesSection","DynamicContentDisplaySection","HomeIntroSection","HomepageHero","InformationSection","KeynotersSection","LiveStreamingSection","NewsGridSection","SchedulePreviewSection","SliderCardsSection","SocialsSection","SpecialGuestSection","SponsorsSection","TextSection"],BookScheduleItemResult:["ScheduleItem","ScheduleItemIsFull","ScheduleItemNotBookable","UserIsAlreadyBooked","UserNeedsConferenceTicket"],CancelBookingScheduleItemResult:["ScheduleItem","ScheduleItemNotBookable","UserIsNotBooked"],CreateOrderResultCreateOrderErrors:["CreateOrderErrors","CreateOrderResult"],CustomerPortalResult:["CustomerPortalResponse","NoSubscription","NotSubscribedViaStripe"],GenericPagePreviewNewsArticlePreview:["GenericPagePreview","NewsArticlePreview"],GenericPageSiteNotFoundError:["GenericPage","SiteNotFoundError"],LoginResult:["LoginErrors","LoginSuccess","WrongEmailOrPassword"],RegisterResult:["EmailAlreadyUsed","RegisterErrors","RegisterSuccess"],RequestInvitationLetterResult:["FormNotAvailable","InvitationLetterAlreadyRequested","InvitationLetterRequest","NoAdmissionTicket","RequestInvitationLetterErrors"],RequestResetPasswordResult:["OperationSuccess"],ResetPasswordResult:["OperationSuccess","ResetPasswordErrors"],ScheduleInvitationNotFoundScheduleInvitation:["ScheduleInvitation","ScheduleInvitationNotFound"],SendGrantReplyResult:["Grant","SendGrantReplyError"],SendGrantResult:["Grant","GrantErrors"],SendSponsorLeadOutput:["OperationResult","SendSponsorLeadInputErrors"],SendSubmissionOutput:["SendSubmissionErrors","Submission"],SendVoteOutput:["SendVoteErrors","VoteType"],SubmissionKeynote:["Keynote","Submission"],SubscribeToNewsletterOutput:["NewsletterSubscribeResult","SubscribeToNewsletterErrors"],SubscribeUserResult:["AlreadySubscribed","CheckoutSession"],UpdateAttendeeTicketResult:["AttendeeTicket","TicketReassigned","UpdateAttendeeTicketErrors"],UpdateGrantResult:["Grant","GrantErrors"],UpdateInvitationLetterDocumentResult:["InvitationLetterDocument","InvitationLetterDocumentNotEditable","NotFound"],UpdateParticipantResult:["Participant","UpdateParticipantErrors"],UpdateProfileResult:["UpdateProfileErrors","User"],UpdateSubmissionOutput:["SendSubmissionErrors","Submission"],UploadFileOutput:["FileUploadRequest"]}}},67623,e=>{"use strict";var t,r,n,i,a,o,s=e.i(67515),c="__lodash_hash_undefined__",u="[object Arguments]",l="[object Array]",f="[object Boolean]",h="[object Date]",d="[object Error]",p="[object Function]",v="[object Map]",y="[object Number]",m="[object Object]",g="[object Promise]",_="[object RegExp]",b="[object Set]",O="[object String]",w="[object WeakMap]",S="[object ArrayBuffer]",k="[object DataView]",E=/^\[object .+?Constructor\]$/,R=/^(?:0|[1-9]\d*)$/,T={};
1T["[object Float32Array]"]=T["[object Float64Array]"]=T["[object Int8Array]"]=T["[object Int16Array]"]=T["[object Int32Array]"]=T["[object Uint8Array]"]=T["[object Uint8ClampedArray]"]=T["[object Uint16Array]"]=T["[object Uint32Array]"]=!0,T[u]=T[l]=T[S]=T[f]=T[k]=T[h]=T[d]=T[p]=T[v]=T[y]=T[m]=T[_]=T[b]=T[O]=T[w]=!1;var D=e.g&&e.g.Object===Object&&e.g,F="object"==typeof self&&self&&self.Object===Object&&self,x=D||F||globalThis,N=function(){try{return!1}catch(e){}}(),I=N&&N.isTypedArray;function j(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}function C(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}var A=Array.prototype,q=Function.prototype,M=Object.prototype,P=x["__core-js_shared__"],Q=q.toString,V=M.hasOwnProperty,L=(t=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+t:"",z=M.toString,W=RegExp("^"+Q.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),U=x.Symbol,B=x.Uint8Array,K=M.propertyIsEnumerable,G=A.splice,$=U?U.toStringTag:void 0,H=Object.getOwnPropertySymbols,J=(r=Object.keys,n=Object,function(e){return r(n(e))}),Y=eO(x,"DataView"),X=eO(x,"Map"),Z=eO(x,"Promise"),ee=eO(x,"Set"),et=eO(x,"WeakMap"),er=eO(Object,"create"),en=ek(Y),ei=ek(X),ea=ek(Z),eo=ek(ee),es=ek(et),ec=U?U.prototype:void 0,eu=ec?ec.valueOf:void 0;function el(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ef(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function eh(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}function ed(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new eh;++t<r;)this.add(e[t])}function ep(e){var t=this.__data__=new ef(e);this.size=t.size}function ev(e,t){for(var r=e.length;r--;)if(eE(e[r][0],t))return r;return -1}function ey(e){var t;return null==e?void 0===e?"[object Undefined]":"[object Null]":$&&$ in Object(e)?function(e){var t=V.call(e,$),r=e[$];try{e[$]=void 0;var n=!0}catch(e){}var i=z.call(e);return n&&(t?e[$]=r:delete e[$]),i}(e):(t=e,z.call(t))}function em(e){return eI(e)&&ey(e)==u}function eg(e,t,r,n,i,a){var o=1&r,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var u=a.get(e);if(u&&a.get(t))return u==t;var l=-1,f=!0,h=2&r?new ed:void 0;for(a.set(e,t),a.set(t,e);++l<s;){var d=e[l],p=t[l];if(n)var v=o?n(p,d,l,t,e,a):n(d,p,l,e,t,a);if(void 0!==v){if(v)continue;f=!1;break}if(h){if(!function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}(t,function(e,t){if(!h.has(t)&&(d===e||i(d,e,r,n,a)))return h.push(t)})){f=!1;break}}else if(!(d===p||i(d,p,r,n,a))){f=!1;break}}return a.delete(e),a.delete(t),f}function e_(e){var t;return t=eC(e),eT(e)?t:function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}(t,ew(e))}function eb(e,t){var r,n,i=e.__data__;return("string"==(n=typeof(r=t))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==r:null===r)?i["string"==typeof t?"string":"hash"]:i.map}function eO(e,t){var r,n=null==e?void 0:e[t];return!(!eN(n)||(r=n,L&&L in r))&&(eF(n)?W:E).test(ek(n))?n:void 0}el.prototype.clear=function(){this.__data__=er?er(null):{},this.size=0},el.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t},el.prototype.get=function(e){var t=this.__data__;if(er){var r=t[e];return r===c?void 0:r}return V.call(t,e)?t[e]:void 0},el.prototype.has=function(e){var t=this.__data__;return er?void 0!==t[e]:V.call(t,e)},el.prototype.set=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=er&&void 0===t?c:t,this},ef.prototype.clear=function(){this.__data__=[],this.size=0},ef.prototype.delete=function(e){var t=this.__data__,r=ev(t,e);return!(r<0)&&(r==t.length-1?t.pop():G.call(t,r,1),--this.size,!0)},ef.prototype.get=function(e){var t=this.__data__,r=ev(t,e);return r<0?void 0:t[r][1]},ef.prototype.has=function(e){return ev(this.__data__,e)>-1},ef.prototype.set=function(e,t){var r=this.__data__,n=ev(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},eh.prototype.clear=function(){this.size=0,this.__data__={hash:new el,map:new(X||ef),string:new el}},eh.prototype.delete=function(e){var t=eb(this,e).delete(e);return this.size-=!!t,t},eh.prototype.get=function(e){return eb(this,e).get(e)},eh.prototype.has=function(e){return eb(this,e).has(e)},eh.prototype.set=function(e,t){var r=eb(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this},ed.prototype.add=ed.prototype.push=function(e){return this.__data__.set(e,c),this},ed.prototype.has=function(e){return this.__data__.has(e)},ep.prototype.clear=function(){this.__data__=new ef,this.size=0},ep.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},ep.prototype.get=function(e){return this.__data__.get(e)},ep.prototype.has=function(e){return this.__data__.has(e)},ep.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ef){var n=r.__data__;if(!X||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new eh(n)}return r.set(e,t),this.size=r.size,this};var ew=H?function(e){return null==e?[]:function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}(H(e=Object(e)),function(t){return K.call(e,t)})}:function(){return[]},eS=ey;function ek(e){if(null!=e){try{return Q.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function eE(e,t){return e===t||e!=e&&t!=t}(Y&&eS(new Y(new ArrayBuffer(1)))!=k||X&&eS(new X)!=v||Z&&eS(Z.resolve())!=g||ee&&eS(new ee)!=b||et&&eS(new et)!=w)&&(eS=function(e){var t=ey(e),r=t==m?e.constructor:void 0,n=r?ek(r):"";if(n)switch(n){case en:return k;case ei:return v;case ea:return g;case eo:return b;case es:return w}return t});var eR=em(function(){return arguments}())?em:function(e){return eI(e)&&V.call(e,"callee")&&!K.call(e,"callee")},eT=Array.isArray,eD=function(){return!1};function eF(e){if(!eN(e))return!1;var t=ey(e);return t==p||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ex(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}function eN(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function eI(e){return null!=e&&"object"==typeof e}var ej=I?function(e){return I(e)}:function(e){return eI(e)&&ex(e.length)&&!!T[ey(e)]};function eC(e){return null!=e&&ex(e.length)&&!eF(e)?function(e){var t,r,n=eT(e),i=!n&&eR(e),a=!n&&!i&&eD(e),o=!n&&!i&&!a&&ej(e),s=n||i||a||o,c=s?function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}(e.length,String):[],u=c.length;for(var l in e){V.call(e,l)&&!(s&&("length"==l||a&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||(t=l,(r=null==(r=u)?0x1fffffffffffff:r)&&("number"==typeof t||R.test(t))&&t>-1&&t%1==0&&t<r)))&&c.push(l)}return c}(e):function(e){if(r=(t=e)&&t.constructor,t!==("function"==typeof r&&r.prototype||M))return J(e);var t,r,n=[];for(var i in Object(e))V.call(e,i)&&"constructor"!=i&&n.push(i);return n}(e)}e.i(77271);var eA=e.i(90054);e.i(67928);var eq=e.i(18465),eM=e.i(18236),eP=e.i(8483),eQ=e.i(89831);function eV(e,t){return t?t(e):eM.Observable.of()}function eL(e){return"function"==typeof e?new eW(e):e}function ez(e){return e.request.length<=1}var eW=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return eM.Observable.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(eL).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=eL(r),a=eL(n||new e(eV));return Object.assign(new e(ez(i)&&ez(a)?function(e){return t(e)?i.request(e)||eM.Observable.of():a.request(e)||eM.Observable.of()}:function(e,r){return t(e)?i.request(e,r)||eM.Observable.of():a.request(e,r)||eM.Observable.of()}),{left:i,right:a})},e.execute=function(e,t){var r,n,i,a,o;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>
1t.indexOf(i))throw(0,eq.newInvariantError)(58,i)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(n.operationName="string"!=typeof n.query?(0,eP.getOperationName)(n.query)||void 0:""),a=n,o=(0,eA.__assign)({},i),Object.defineProperty(a,"setContext",{enumerable:!1,value:function(e){o="function"==typeof e?(0,eA.__assign)((0,eA.__assign)({},o),e(o)):(0,eA.__assign)((0,eA.__assign)({},o),e)}}),Object.defineProperty(a,"getContext",{enumerable:!1,value:function(){return(0,eA.__assign)({},o)}}),a))||eM.Observable.of()},e.concat=function(t,r){var n=eL(t);if(ez(n))return!1!==globalThis.__DEV__&&eq.invariant.warn(47,n),n;var i=eL(r);return Object.assign(new e(ez(i)?function(e){return n.request(e,function(e){return i.request(e)||eM.Observable.of()})||eM.Observable.of()}:function(e,t){return n.request(e,function(e){return i.request(e,t)||eM.Observable.of()})||eM.Observable.of()}),{left:n,right:i})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(eV)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,eq.newInvariantError)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,eQ.warnDeprecated)("onError",function(){!1!==globalThis.__DEV__&&eq.invariant.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&eq.invariant.warn(50),this.onError=e,this},e}(),eU=eW.execute,eB=e.i(30608),eK=e.i(35714),eG=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,eq.newInvariantError)(54,t,e.message);throw n.parseError=e,n}return r},e$=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},eH=e.i(33770);function eJ(e){var t={next:function(){return e.read()}};return eH.canUseAsyncIteratorSymbol&&(t[Symbol.asyncIterator]=function(){return this}),t}var eY=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},eX=e.i(91659),eZ=e.i(25033),e0=e.i(50653),e1=Object.prototype.hasOwnProperty;function e2(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e3(e)}function e3(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new e5,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var e8=function(e,t,r){return this.merge(e[r],t[r])},e5=function(){function e(e){void 0===e&&(e=e8),this.reconciler=e,this.isObject=eZ.isNonNullObject,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,eZ.isNonNullObject)(t)&&(0,eZ.isNonNullObject)(e)?(Object.keys(t).forEach(function(i){if(e1.call(e,i)){var a=e[i];if(t[i]!==a){var o=r.reconciler.apply(r,(0,eA.__spreadArray)([e,t,i],n,!1));o!==a&&((e=r.shallowCopyForMerge(e))[i]=o)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,eZ.isNonNullObject)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,eA.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function e9(e){return"incremental"in e}function e6(e,t){var r=e,n=new e5;return e9(t)&&(0,e0.isNonEmptyArray)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,a=i.length-1;a>=0;--a){var o=i[a],s=isNaN(+o)?{}:[];s[o]=t,t=s}r=n.merge(r,t)}),r}var e4=Object.prototype.hasOwnProperty;function e7(e,t){e.status>=300&&eY(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 te=function(e){if(!e&&"u"<typeof fetch)throw(0,eq.newInvariantError)(51)},tt=e.i(65293);let tr=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function tn(e){return ti[e.charCodeAt(0)]}let ti=["\\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 ta=e.i(13200);let to={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ts(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=tf(e.variableDefinitions)?tu("(\n",ts(e.variableDefinitions,"\n"),"\n)"):tu("(",ts(e.variableDefinitions,", "),")"),r=tu("",e.description,"\n")+ts([e.operation,ts([e.name,t]),ts(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n,description:i})=>tu("",i,"\n")+e+": "+t+tu(" = ",r)+tu(" ",ts(n," "))},SelectionSet:{leave:({selections:e})=>tc(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let a=tu("",e,": ")+t,o=a+tu("(",ts(r,", "),")");return o.length>80&&(o=a+tu("(\n",tl(ts(r,"\n")),"\n)")),ts([o,ts(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+tu(" ",ts(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>ts(["...",tu("on ",e),ts(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i,description:a})=>tu("",a,"\n")+`fragment ${e}${tu("(",ts(r,", "),")")} `+`on ${t} ${tu("",ts(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,tt.printBlockString)(e):`"${e.replace(tr,tn)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ts(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ts(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+tu("(",ts(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>tu("",e,"\n")+ts(["schema",ts(t," "),tc(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>tu("",e,"\n")+ts(["scalar",t,ts(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>tu("",e,"\n")+ts(["type",t,tu("implements ",ts(r," & ")),ts(n," "),tc(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>tu("",e,"\n")+t+(tf(r)?tu("(\n",tl(ts(r,"\n")),"\n)"):tu("(",ts(r,", "),")"))+": "+n+tu(" ",ts(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>tu("",e,"\n")+ts([t+": "+r,tu("= ",n),ts(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>tu("",e,"\n")+ts(["interface",t,tu("implements ",ts(r," & ")),ts(n," "),tc(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>tu("",e,"\n")+ts(["union",t,ts(r," "),tu("= ",ts(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>tu("",e,"\n")+ts(["enum",t,ts(r," "),tc(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>tu("",e,"\n")+ts([t,ts(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>tu("",e,"\n")+ts(["input",t,ts(r," "),tc(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,directives:n,repeatable:i,locations:a})=>tu("",e,"\n")+"directive @"+t+(tf(r)?tu("(\n",tl(ts(r,"\n")),"\n)"):tu("(",ts(r,", "),")"))+tu(" ",ts(n," "))+(i?" repeatable":"")+" on "+ts(a," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ts(["extend schema",ts(e," "),tc(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ts(["extend scalar",e,ts(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>ts(["extend type",e,tu("implements ",ts(t," & ")),ts(r," "),tc(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>ts(["extend interface",e,tu("implements ",ts(t," & ")),ts(r," "),tc(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>ts(["extend union",e,ts(t," "),tu("= ",ts(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>ts(["extend enum",e,ts(t," "),tc(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>ts(["extend input",e,ts(t," "),tc(r)]," ")},DirectiveExtension:{leave:({name:e,directives:t})=>ts(["extend directive @"+e,ts(t," ")]," ")},TypeCoordinate:{leave:({name:e})=>e},MemberCoordinate:{leave:({name:e,memberName:t})=>ts([e,tu(".",t)])},ArgumentCoordinate:{leave:({name:e,fieldName:t,argumentName:r})=>ts([e,tu(".",t),tu("(",r,":)")])},DirectiveCoordinate:{leave:({name:e})=>ts(["@",e])},DirectiveArgumentCoordinate:{leave:({name:e,argumentName:t})=>ts(["@",e,tu("(",t,":)")])}};function ts(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function tc(e){return tu("{\n",tl(ts(e,"\n")),"\n}")}function tu(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function tl(e){return tu("  ",e.replace(/\n/g,"\n  "))}function tf(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var th=e.i(45291),td=e.i(42997),tp=e.i(93002),tv=Object.assign(function(e){var t=o.get(e);return t||(t=(0,ta.visit)(e,to),o.set(e,t)),t},{reset:function(){o=new th.AutoCleanedWeakCache(td.cacheSizes.print||2e3)}});tv.reset(),!1!==globalThis.__DEV__&&(0,tp.registerGlobalCache)("print",function(){return o?o.size:0});var ty={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},tm=function(e,t){return t(e)};function tg(e){return new eM.Observable(function(t){t.error(e)})}var t_=e.i(68152),tb=e.i(46025),tO=e.i(87810),tw=e.i(17174),tS={kind:tb.Kind.FIELD,name:{kind:tb.Kind.NAME,value:"__typename"}};function tk(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 tE(e,t){(0,eP.checkDocument)(t);for(var r,n,i,a=tk(""),o=tk(""),s=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,e0.isArray)(r)){if(r.kind===tb.Kind.OPERATION_DEFINITION)return a(r.name&&r.name.value);if(r.kind===tb.Kind.FRAGMENT_DEFINITION)return o(r.name.value)}return!1!==globalThis.__DEV__&&eq.invariant.error(124),null},c=0,u=t.definitions.length-1;u>=0;--u)t.definitions[u].kind===tb.Kind.OPERATION_DEFINITION&&++c;var l=(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))}
1),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),f=function(e){return(0,e0.isNonEmptyArray)(e)&&e.map(l).some(function(e){return e&&e.remove})},h=new Map,d=!1,p={enter:function(e){if(f(e.directives))return d=!0,null}},v=(0,ta.visit)(t,{Field:p,InlineFragment:p,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var a=s(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(f(e.directives))return d=!0,null;var a=s(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){h.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===h.get(JSON.stringify(n))?e:c>0&&e.selectionSet.selections.every(function(e){return e.kind===tb.Kind.FIELD&&"__typename"===e.name.value})?(o(e.name.value).removed=!0,d=!0,null):void 0}},Directive:{leave:function(e){if(l(e))return d=!0,null}}});if(!d)return t;var y=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){y(o(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},m=new Set;v.definitions.forEach(function(e){e.kind===tb.Kind.OPERATION_DEFINITION?y(a(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){m.add(e)}):e.kind!==tb.Kind.FRAGMENT_DEFINITION||0!==c||o(e.name.value).removed||m.add(e.name.value)}),m.forEach(function(e){y(o(e)).fragmentSpreads.forEach(function(e){m.add(e)})});var g={enter:function(e){var t;if(t=e.name.value,!m.has(t)||o(t).removed)return null}};return i=(0,ta.visit)(v,{FragmentSpread:g,FragmentDefinition:g,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=y(a(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,eA.__assign)((0,eA.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===tb.Kind.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,eP.getOperationDefinition)(i)||(0,eP.getFragmentDefinition)(i),(0,tw.createFragmentMap)((0,eP.getFragmentDefinitions)(i)))?i:null}var tR=Object.assign(function(e){return(0,ta.visit)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==tb.Kind.OPERATION_DEFINITION){var n=e.selections;if(!(!n||n.some(function(e){return(0,tO.isField)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,tO.isField)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,eA.__assign)((0,eA.__assign)({},e),{selections:(0,eA.__spreadArray)((0,eA.__spreadArray)([],n,!0),[tS],!1)})}}}})},{added:function(e){return e===tS}});function tT(e){return(0,eP.checkDocument)(e),tE([{test:function(e){return"client"===e.name.value},remove:!0}],e)}var tD=(0,t_.maybe)(function(){return fetch}),tF=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,n=e.fetch,i=e.print,a=void 0===i?tm:i,o=e.includeExtensions,s=e.preserveHeaderCase,c=e.useGETForQueries,u=e.includeUnusedVariables,l=void 0!==u&&u,f=(0,eA.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&te(n||tD);var h={http:{includeExtensions:o,preserveHeaderCase:s},options:f.fetchOptions,credentials:f.credentials,headers:f.headers};return new eW(function(e){var t,i,o,s,u,f,d=e$(e,r),p=e.getContext(),v={};if(p.clientAwareness){var y=p.clientAwareness,m=y.name,g=y.version;m&&(v["apollographql-client-name"]=m),g&&(v["apollographql-client-version"]=g)}var _=(0,eA.__assign)((0,eA.__assign)({},v),p.headers),b={http:p.http,options:p.fetchOptions,credentials:p.credentials,headers:_};if((0,eK.hasDirectives)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&eq.invariant.warn(52);var O=tT(e.query);if(!O)return tg(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=O}var w=function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];var i={},a={};r.forEach(function(e){i=(0,eA.__assign)((0,eA.__assign)((0,eA.__assign)({},i),e.options),{headers:(0,eA.__assign)((0,eA.__assign)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),a=(0,eA.__assign)((0,eA.__assign)({},a),e.http)}),i.headers&&(i.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(i.headers,a.preserveHeaderCase));var o=e.operationName,s=e.extensions,c=e.variables,u=e.query,l={operationName:o,variables:c};return a.includeExtensions&&(l.extensions=s),a.includeQuery&&(l.query=t(u,tv)),{options:i,body:l}}(e,a,ty,h,b),S=w.options,k=w.body;k.variables&&!l&&(t=k.variables,i=e.query,o=(0,eA.__assign)({},t),s=new Set(Object.keys(t)),(0,ta.visit)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&s.delete(e.name.value)}}),s.forEach(function(e){delete o[e]}),k.variables=o),!S.signal&&"u">typeof AbortController&&(S.signal=(f=new AbortController).signal);var E="OperationDefinition"===(u=(0,eP.getMainDefinition)(e.query)).kind&&"subscription"===u.operation,R=(0,eK.hasDirectives)(["defer"],e.query);if(c&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(S.method="GET"),R||E){S.headers=S.headers||{};var T="multipart/mixed;";E&&R&&!1!==globalThis.__DEV__&&eq.invariant.warn(53),E?T+="boundary=graphql;subscriptionSpec=1.0,application/json":R&&(T+="deferSpec=20220824,application/json"),S.headers.accept=T}if("GET"===S.method){var D=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=eG(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var a=void 0;try{a=eG(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",a)}var o="",s=e,c=e.indexOf("#");-1!==c&&(o=e.substr(c),s=e.substr(0,c));var u=-1===s.indexOf("?")?"?":"&";return{newURI:s+u+r.join("&")+o}}(d,k),F=D.newURI,x=D.parseError;if(x)return tg(x);d=F}else try{S.body=eG(k,"Payload")}catch(e){return tg(e)}return new eM.Observable(function(t){var r=n||(0,t_.maybe)(function(){return fetch})||tD,i=t.next.bind(t);return r(d,S).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,eA.__awaiter)(this,void 0,void 0,function(){var r,n,i,a,o,s,c,u,l,f,h,d,p,v,y,m,g,_,b,O,w,S,k;return(0,eA.__generator)(this,function(E){switch(E.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==(k=e.headers)?void 0:k.get("content-type"),i="boundary=",a=(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():"-",o="\r\n--".concat(a),s="",c=function(e){var t,r,n,i,a,o,s=e;if(e.body&&(s=e.body),t=s,eH.canUseAsyncIteratorSymbol&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return eJ(s.getReader());if(s.stream)return eJ(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),a=!1,o={next:function(){return a?Promise.resolve({value:void 0,done:!0}):(a=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},eH.canUseAsyncIteratorSymbol&&(o[Symbol.asyncIterator]=function(){return this}),o;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],a=[];function o(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){n=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",o),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",o),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void a.push([e,t])})}};return eH.canUseAsyncIteratorSymbol&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),u=!0,E.label=1;case 1:if(!u)return[3,3];return[4,c.next()];
1case 2:for(f=(l=E.sent()).value,h=l.done,d="string"==typeof f?f:r.decode(f),p=s.length-o.length+1,u=!h,s+=d,v=s.indexOf(o,p);v>-1;){if(y=void 0,y=(w=[s.slice(0,v),s.slice(v+o.length)])[0],s=w[1],m=y.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}(y.slice(0,m))["content-type"])&&-1===g.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(_=y.slice(m)){if(Object.keys(b=e7(e,_)).length>1||"data"in b||"incremental"in b||"errors"in b||"payload"in b)if((0,eZ.isNonNullObject)(b)&&"payload"in b){if(O={},"payload"in b){if(1===Object.keys(b).length&&null===b.payload)return[2];O=(0,eA.__assign)({},b.payload)}"errors"in b&&(O=(0,eA.__assign)((0,eA.__assign)({},O),{extensions:(0,eA.__assign)((0,eA.__assign)({},"extensions"in O?O.extensions:null),((S={})[eX.PROTOCOL_ERRORS_SYMBOL]=b.errors,S))})),t(O)}else t(b);else if(1===Object.keys(b).length&&"hasNext"in b&&!b.hasNext)return[2]}v=s.indexOf(o)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return e7(t,e)}).then(function(r){return Array.isArray(r)||e4.call(r,"data")||e4.call(r,"errors")||eY(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(){f=void 0,t.complete()}).catch(function(e){f=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){f&&f.abort()}})})},tx=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,tF(t).request)||this;return r.options=t,r}return(0,eA.__extends)(t,e),t}(eW),tN=e.i(39100),tI=e.i(17256);function tj(e){var t=tC(e);return(0,e0.isNonEmptyArray)(t)}function tC(e){var t=(0,e0.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];return e9(e)&&(0,e0.isNonEmptyArray)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}function tA(e,t,r){return new eM.Observable(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function a(e,t){return function(r){if(e){var a=function(){return n.closed?0:e(r)};i=i.then(a,a).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var o={next:a(t,"next"),error:a(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(o);return function(){return s.unsubscribe()}})}var tq=e.i(36167),tM=e.i(57794);function tP(e){return e&&"function"==typeof e.then}var tQ=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),(0,tq.iterateObserversSafely)(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),(0,tq.iterateObserversSafely)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?tP(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"),(0,tq.iterateObserversSafely)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new eM.Observable(t)]),tP(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,eA.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(eM.Observable);(0,tM.fixObservableSubclass)(tQ);var tV=e.i(85159),tL=e.i(6884),tz=e.i(70125),tW=e.i(43976);function tU(e){return e}var tB=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=eH.canUseWeakSet?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(tU,{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 tL.Trie(eH.canUseWeakMap);this.performWork=(0,tW.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,eq.invariant)(Array.isArray(n),104),r.lookupArray(n)},max:td.cacheSizes["documentTransform.cache"],cache:tz.WeakCache})}},e.prototype.performWork=function(e){return(0,eP.checkDocument)(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}(),tK=e.i(30375),tG=e.i(90631),t$=new(eH.canUseWeakMap?WeakMap:Map);function tH(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return t$.set(e,(t$.get(e)+1)%1e15),r.apply(this,arguments)})}var tJ=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;t$.has(r)||(t$.set(r,0),tH(r,"evict"),tH(r,"modify"),tH(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tG.NetworkStatus.loading;return this.variables&&this.networkStatus!==tG.NetworkStatus.loading&&!(0,tN.equal)(this.variables,e.variables)&&(t=tG.NetworkStatus.setVariables),(0,tN.equal)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,tN.equal)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=(0,eQ.muteDeprecations)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(n,t),n},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&&(0,eQ.muteDeprecations)("getLastError",function(){var e;return null==(e=r.observableQuery)?void 0:e.getLastError()}))&&(this.updateLastDiff(e),(0,tN.equal)(n&&n.result,e&&e.result)||null==(t=this.observableQuery)||t.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,eA.__assign)((0,eA.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,tN.equal)(n,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===t$.get(this.cache)&&(0,tN.equal)(t,r.variables)&&(0,tN.equal)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,a=this,o=new e5,s=(0,e0.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];if(null==(i=this.observableQuery)||i.resetNotifications(),"incremental"in e&&(0,e0.isNonEmptyArray)(e.incremental)){var c=e6(this.getDiff().result,e);e.data=c}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(tY(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(a.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),a.lastWrite={result:e,variables:r.variables,dmCount:t$.get(a.cache)};else if(a.lastDiff&&a.lastDiff.diff.complete){e.data=a.lastDiff.diff.result;return}var o=a.getDiffOptions(r.variables),s=(0,eQ.muteDeprecations)("canonizeResults",function(){return i.diff(o)});!a.stopped&&(0,tN.equal)(a.variables,r.variables)&&a.updateWatch(r.variables),a.updateLastDiff(s,o),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tG.NetworkStatus.ready},e.prototype.markError=function(e){var t;return this.networkStatus=tG.NetworkStatus.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function tY(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!tj(e);return!n&&r&&e.data&&(n=!0),n}var tX=e.i(10806),tZ=eH.canUseWeakMap?WeakMap:Map,t0=eH.canUseWeakSet?WeakSet:Set,t1=new tX.Slot,t2=!1;function t3(){t2||(t2=!0,!1!==globalThis.__DEV__&&eq.invariant.warn(64))}var t8=e.i(28573);function t5(e,t,r){return t1.withValue(!0,function(){var n=function e(t,r,n,i,a){var o,s=n.knownChanged,c=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,n.mutableTargets);if(Array.isArray(t)){for(var u=0,l=Array.from(t.entries());u<l.length;u++){var f=l[u],h=f[0],d=f[1];if(null===d){c[h]=null;continue}var p=e(d,r,n,i,!1!==globalThis.__DEV__?"".concat(a||"","[").concat(h,"]"):void 0);s.has(p)&&s.add(c),c[h]=p}return s.has(c)?c:t}for(var v=0,y=r.selections;v<y.length;v++){var m=y[v],g=void 0;if(i&&s.add(c),m.kind===tb.Kind.FIELD){var _=(0,tO.resultKeyNameFromField)(m),b=m.selectionSet;if(void 0===(g=c[_]||t[_]))continue;if(b&&null!==g){var p=e(t[_],b,n,i,!1!==globalThis.__DEV__?"".concat(a||"",".").concat(_):void 0);s.has(p)&&(g=p)}!1===globalThis.__DEV__&&(c[_]=g),!1!==globalThis.__DEV__&&(!i||"__typename"===_||(null==(o=Object.getOwnPropertyDescriptor(c,_))?void 0:o.value)?(delete c[_],c[_]=g):Object.defineProperty(c,_,function(e,t,r,n,i){var a=function(){return t1.getValue()||(!1!==globalThis.__DEV__&&eq.invariant.warn(60,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),a=function(){return t}),t};return{get:function(){return a()},set:function(e){a=function(){return e}},enumerable:!0,configurable:!0}}(_,g,a||"",n.operationName,n.operationType)))}if(m.kind===tb.Kind.INLINE_FRAGMENT&&(!m.typeCondition||n.cache.fragmentMatches(m,t.__typename))&&(g=e(t,m.selectionSet,n,i,a)),m.kind===tb.Kind.FRAGMENT_SPREAD){var O=m.name.value,w=n.fragmentMap[O]||(n.fragmentMap[O]=n.cache.lookupFragment(O));(0,eq.invariant)(w,59,O);var S=(0,eK.getFragmentMaskMode)(m);"mask"!==S&&(g=e(t,w.selectionSet,n,"migrate"===S,a))}s.has(g)&&s.add(c)}return"__typename"in t&&!("__typename"in c)&&(c.__typename=t.__typename),Object.keys(c).length!==Object.keys(t).length&&s.add(c),s.has(c)?c:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,t8.maybeDeepFreeze)(n),n})}function t9(e,t,r,n){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&t3(),e;var i=t.definitions.filter(function(e){return e.kind===tb.Kind.FRAGMENT_DEFINITION});void 0===n&&((0,eq.invariant)(1===i.length,61,i.length),n=i[0].name.value);var a=i.find(function(e){return e.name.value===n});return((0,eq.invariant)(!!a,62,n),null==e||(0,tN.default)(e,{}))?e:t5(e,a.selectionSet,{operationType:"fragment",operationName:a.name.value,fragmentMap:(0,tw.createFragmentMap)((0,eP.getFragmentDefinitions)(t)),cache:r,mutableTargets:new tZ,knownChanged:new t0})}var t6=Object.prototype.hasOwnProperty,t4=Object.create(null),t7=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new th.AutoCleanedWeakCache(td.cacheSizes["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new tL.Trie(!1),this.noCacheWarningsByQueryId=new Set;var r=new tB(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;
1this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,eq.newInvariantError)(35))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,eA.__awaiter)(this,arguments,void 0,function(e){var t,r,n,i,a,o,s,c=e.mutation,u=e.variables,l=e.optimisticResponse,f=e.updateQueries,h=e.refetchQueries,d=void 0===h?[]:h,p=e.awaitRefetchQueries,v=void 0!==p&&p,y=e.update,m=e.onQueryUpdated,g=e.fetchPolicy,_=void 0===g?(null==(o=this.defaultOptions.mutate)?void 0:o.fetchPolicy)||"network-only":g,b=e.errorPolicy,O=void 0===b?(null==(s=this.defaultOptions.mutate)?void 0:s.errorPolicy)||"none":b,w=e.keepRootFields,S=e.context;return(0,eA.__generator)(this,function(e){switch(e.label){case 0:if((0,eq.invariant)(c,36),(0,eq.invariant)("network-only"===_||"no-cache"===_,37),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,u=this.getVariables(c,u),!r)return[3,2];return[4,this.localState.addExportedVariables(c,u,S)];case 1:u=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:u,loading:!0,error:null}),i=l&&this.markMutationOptimistic(l,{mutationId:t,document:c,variables:u,fetchPolicy:_,errorPolicy:O,context:S,updateQueries:f,update:y,keepRootFields:w}),this.broadcastQueries(),a=this,[2,new Promise(function(e,r){return tA(a.getObservableFromLink(c,(0,eA.__assign)((0,eA.__assign)({},S),{optimisticResponse:i?l:void 0}),u,{},!1),function(e){if(tj(e)&&"none"===O)throw new eX.ApolloError({graphQLErrors:tC(e)});n&&(n.loading=!1,n.error=null);var r=(0,eA.__assign)({},e);return"function"==typeof d&&(d=d(r)),"ignore"===O&&tj(r)&&delete r.errors,a.markMutationResult({mutationId:t,result:r,document:c,variables:u,fetchPolicy:_,errorPolicy:O,context:S,update:y,updateQueries:f,awaitRefetchQueries:v,refetchQueries:d,removeOptimistic:i?t:void 0,onQueryUpdated:m,keepRootFields:w})}).subscribe({next:function(r){a.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,eA.__assign)((0,eA.__assign)({},r),{data:a.maskOperation({document:c,data:r.data,fetchPolicy:_,id:t})}))},error:function(e){n&&(n.loading=!1,n.error=e),i&&a.cache.removeOptimistic(t),a.broadcastQueries(),r(e instanceof eX.ApolloError?e:new eX.ApolloError({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,i=[],a="no-cache"===e.fetchPolicy;if(!a&&tY(n,e.errorPolicy)){if(e9(n)||i.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),e9(n)&&(0,e0.isNonEmptyArray)(n.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;o.result&&(s=e6(o.result,n)),void 0!==s&&(n.data=s,i.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,a){var o=e.observableQuery,s=o&&o.queryName;if(s&&t6.call(c,s)){var u=c[s],l=r.queries.get(a),f=l.document,h=l.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),p=d.result;if(d.complete&&p){var v=u(p,{mutationResult:n,queryName:f&&(0,eP.getOperationName)(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 u=[];if(this.refetchQueries({updateCache:function(t){a||i.forEach(function(e){return t.write(e)});var o,s=e.update,c=!(e9(o=n)||"hasNext"in o&&"data"in o)||e9(n)&&!n.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(n=(0,eA.__assign)((0,eA.__assign)({},n),{data:u.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}c&&s(t,n,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}
1).forEach(function(e){return u.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).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:t4}):e;return n!==t4&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,eA.__assign)((0,eA.__assign)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&eq.invariant.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,eK.hasClientExports)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,eK.hasDirectives)(["nonreactive"],e),nonReactiveQuery:((0,eP.checkDocument)(e),(0,ta.visit)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,eA.__assign)((0,eA.__assign)({},e),{directives:(0,eA.__spreadArray)((0,eA.__spreadArray)([],e.directives||[],!0),[{kind:tb.Kind.DIRECTIVE,name:{kind:tb.Kind.NAME,value:"nonreactive"}}
1],!1)})}})),clientQuery:this.localState.clientQuery(e),serverQuery:tE([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,eP.getDefaultValues)((0,eP.getOperationDefinition)(e)),asQuery:(0,eA.__assign)((0,eA.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,eA.__assign)((0,eA.__assign)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,eA.__assign)((0,eA.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,eA.__assign)((0,eA.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new tJ(this),n=new tK.ObservableQuery({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,tK.ObservableQuery.inactiveOnCreation.getValue()||this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,eq.invariant)(e.query,38),(0,eq.invariant)("Document"===e.query.kind,39),(0,eq.invariant)(!e.returnPartialData,40),(0,eq.invariant)(!e.pollInterval,41);var n=this.transform(e.query);return this.fetchQuery(t,(0,eA.__assign)((0,eA.__assign)({},e),{query:n})).then(function(i){return i&&(0,eA.__assign)((0,eA.__assign)({},i),{data:r.maskOperation({document:n,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,eq.newInvariantError)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tG.NetworkStatus.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,i=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)n.set(e,e),i.set(e,!1);else if((0,tO.isDocumentNode)(e)){var r=tv(t.transform(e));n.set(r,(0,eP.getOperationName)(e)),i.set(r,!1)}else(0,eZ.isNonNullObject)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,n){var a=t.observableQuery,o=t.document;if(a){if("all"===e)return void r.set(n,a);var s=a.queryName;if("standby"===a.options.fetchPolicy||"active"===e&&!a.hasObservers())return;("active"===e||s&&i.has(s)||o&&i.has(tv(o)))&&(r.set(n,a),s&&i.set(s,!0),o&&i.set(tv(o),!0))}}),a.size&&a.forEach(function(e){var n=(0,tV.makeUniqueId)("legacyOneTimeQuery"),i=t.getOrCreateQuery(n).init({document:e.query,variables:e.variables}),a=new tK.ObservableQuery({queryManager:t,queryInfo:i,options:(0,eA.__assign)((0,eA.__assign)({},e),{fetchPolicy:"network-only"})});(0,eq.invariant)(a.queryId===n),i.setObservableQuery(a),r.set(n,a)}),!1!==globalThis.__DEV__&&i.size&&i.forEach(function(e,t){if(!e){var r=n.get(t);r?!1!==globalThis.__DEV__&&eq.invariant.warn(43,r):!1!==globalThis.__DEV__&&eq.invariant.warn(44)}}),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 a=n.options.fetchPolicy;(0,eQ.muteDeprecations)("resetLastResults",function(){return n.resetLastResults()}),(e||"standby"!==a&&"cache-only"!==a)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,a=e.errorPolicy,o=void 0===a?"none":a,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,c,e,l).map(function(n){"no-cache"!==i&&(tY(n,o)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=tj(n),s=(0,eX.graphQLResultHasProtocolErrors)(n);if(a||s){var c={};
1if(a&&(c.graphQLErrors=n.errors),s&&(c.protocolErrors=n.extensions[eX.PROTOCOL_ERRORS_SYMBOL]),"none"===o||s)throw new eX.ApolloError(c)}return"ignore"===o&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,c).then(f);return new eM.Observable(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n,i){var a,o,s=this;void 0===i&&(i=null!=(a=null==t?void 0:t.queryDeduplication)?a:this.queryDeduplication);var c=this.getDocumentInfo(e),u=c.serverQuery,l=c.clientQuery;if(u){var f=this.inFlightLinkObservables,h=this.link,d={query:u,variables:r,operationName:(0,eP.getOperationName)(u)||void 0,context:this.prepareContext((0,eA.__assign)((0,eA.__assign)({},t),{forceFetch:!i})),extensions:n};if(t=d.context,i){var p=tv(u),v=(0,tI.canonicalStringify)(r),y=f.lookup(p,v);if(!(o=y.observable)){var m=new tQ([eU(h,d)]);o=y.observable=m,m.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?m.beforeNext(e):f.remove(p,v)})}}else o=new tQ([eU(h,d)])}else o=new tQ([eM.Observable.of({data:{}})]),t=this.prepareContext(t);return l&&(o=tA(o,function(e){return s.localState.runResolvers({document:l,remoteResult:e,context:t,variables:r})})),o},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return tA(this.getObservableFromLink(i,r.context,r.variables),function(a){var o=tC(a),s=o.length>0,c=r.errorPolicy;if(n>=e.lastRequestId){if(s&&"none"===c)throw e.markError(new eX.ApolloError({graphQLErrors:o}));e.markResult(a,i,r,t),e.markReady()}var u={data:a.data,loading:!1,networkStatus:tG.NetworkStatus.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=o,u.networkStatus=tG.NetworkStatus.error),u},function(t){var r=(0,eX.isApolloError)(t)?t:new eX.ApolloError({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,a,o=this;void 0===r&&(r=tG.NetworkStatus.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),c=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?c&&c.fetchPolicy||"cache-first":u,f=t.errorPolicy,h=void 0===f?c&&c.errorPolicy||"none":f,d=t.returnPartialData,p=t.notifyOnNetworkStatusChange,v=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===v?{}:v}),m=function(n){y.variables=n;var i=o.fetchQueryByPolicy(e,y,r);return"standby"!==y.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},g=function(){return o.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new tQ(this.localState.addExportedVariables(y.query,y.variables,y.context).then(m).then(function(e){return e.sources})),a=!0;else{var _=m(y.variables);a=_.fromLink,i=new tQ(_.sources)}return i.promise.then(g,g),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,a=void 0!==i&&i,o=e.removeOptimistic,s=void 0===o?a?(0,tV.makeUniqueId)("refetchQueries"):void 0:o,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:a&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof tJ&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,a=e.lastDiff,o=e.diff;c&&(o||(o=(0,eQ.muteDeprecations)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=c(i,o,a)),c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,i=e.document,a=e.data;if(!1!==globalThis.__DEV__){var o=e.fetchPolicy,s=e.id,c=null==(t=(0,eP.getOperationDefinition)(i))?void 0:t.operation,u=(null!=(r=null==c?void 0:c[0])?r:"o")+s;!this.dataMasking||"no-cache"!==o||(0,tw.isFullyUnmaskedOperation)(i)||this.noCacheWarningsByQueryId.has(u)||(this.noCacheWarningsByQueryId.add(u),!1!==globalThis.__DEV__&&eq.invariant.warn(45,null!=(n=(0,eP.getOperationName)(i))?n:"Unnamed ".concat(null!=c?c:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&t3(),e;var n,i=(0,eP.getOperationDefinition)(t);return((0,eq.invariant)(i,63),null==e)?e:t5(e,i.selectionSet,{operationType:i.operation,operationName:null==(n=i.name)?void 0:n.value,fragmentMap:(0,tw.createFragmentMap)((0,eP.getFragmentDefinitions)(t)),cache:r,mutableTargets:new tZ,knownChanged:new t0})}(a,i,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?t9(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,i=t.query,a=t.variables,o=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,l=t.context,f
1=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:i,variables:a,networkStatus:r});var d=function(){return e.getDiff()},p=function(t,r){void 0===r&&(r=e.networkStatus||tG.NetworkStatus.loading);var o=t.result;!1===globalThis.__DEV__||u||(0,tN.equal)(o,{})||(0,tK.logMissingFieldErrors)(t.missing);var s=function(e){return eM.Observable.of((0,eA.__assign)({data:e,loading:(0,tG.isNetworkRequestInFlight)(r),networkStatus:r},t.complete?null:{partial:!0}))};return o&&n.getDocumentInfo(i).hasForcedResolvers?n.localState.runResolvers({document:i,remoteResult:{data:o},context:l,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===c&&r===tG.NetworkStatus.refetch&&Array.isArray(t.missing)?s(void 0):s(o)},v="no-cache"===o?0:r===tG.NetworkStatus.refetch&&"merge"!==s?1:2,y=function(){return n.getResultsFromLink(e,v,{query:i,variables:a,context:l,fetchPolicy:o,errorPolicy:c})},m=f&&"number"==typeof h&&h!==r&&(0,tG.isNetworkRequestInFlight)(r);switch(o){default:case"cache-first":var g=d();if(g.complete)return{fromLink:!1,sources:[p(g,e.markReady())]};if(u||m)return{fromLink:!0,sources:[p(g),y()]};return{fromLink:!0,sources:[y()]};case"cache-and-network":var g=d();if(g.complete||u||m)return{fromLink:!0,sources:[p(g),y()]};return{fromLink:!0,sources:[y()]};case"cache-only":return{fromLink:!1,sources:[p(d(),e.markReady())]};case"network-only":if(m)return{fromLink:!0,sources:[p(d()),y()]};return{fromLink:!0,sources:[y()]};case"no-cache":if(m)return{fromLink:!0,sources:[p(e.getDiff()),y()]};return{fromLink:!0,sources:[y()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new tJ(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,eA.__assign)((0,eA.__assign)((0,eA.__assign)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}();function re(e){return e.kind===tb.Kind.FIELD||e.kind===tb.Kind.FRAGMENT_SPREAD||e.kind===tb.Kind.INLINE_FRAGMENT}var rt=e.i(50146),rr=new tX.Slot,rn=new WeakMap;function ri(e){var t=rn.get(e);return t||rn.set(e,t={vars:new Set,dep:(0,rt.dep)()}),t}function ra(e){ri(e).vars.forEach(function(t){return t.forgetCache(e)})}function ro(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(function(e){var t;ri(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var s=rr.getValue();s&&(i(s),ri(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),ri(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var rs=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=e2(t.resolvers,e)}):this.resolvers=e2(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,eA.__awaiter)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,i=e.variables,a=e.onlyRunForcedResolvers,o=void 0!==a&&a;return(0,eA.__generator)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,i,this.fragmentMatcher,o).then(function(e){return(0,eA.__assign)((0,eA.__assign)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,eK.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return tT(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,eA.__assign)((0,eA.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,eA.__awaiter)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,eA.__generator)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,eA.__assign)((0,eA.__assign)({},t),e.exportedVariables)})]:[2,(0,eA.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,ta.visit)(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 ta.BREAK}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===(0,eP.getMainDefinition)(e).operation?e:(0,ta.visit)(e,{OperationDefinition:{enter:function(e){return(0,eA.__assign)((0,eA.__assign)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,eA.__awaiter)(this,arguments,void 0,function(e,t,r,n,i,a){var o,s,c,u,l,f,h,d,p,v;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===i&&(i=function(){return!0}),void 0===a&&(a=!1),(0,eA.__generator)(this,function(y){return o=(0,eP.getMainDefinition)(e),s=(0,eP.getFragmentDefinitions)(e),c=(0,tw.createFragmentMap)(s),u=this.collectSelectionsToResolve(o,c),f=(l=o.operation)?l.charAt(0).toUpperCase()+l.slice(1):"Query",h=this,d=h.cache,p=h.client,v={fragmentMap:c,context:(0,eA.__assign)((0,eA.__assign)({},r),{cache:d,client:p}),variables:n,fragmentMatcher:i,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(o.selectionSet,!1,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,eA.__awaiter)(this,void 0,void 0,function(){var i,a,o,s,c,u=this;return(0,eA.__generator)(this,function(l){return i=n.fragmentMap,a=n.context,o=n.variables,s=[r],c=function(e){return(0,eA.__awaiter)(u,void 0,void 0,function(){var c,u;return(0,eA.__generator)(this,function(l){return(t||n.selectionsToResolve.has(e))&&(0,eK.shouldInclude)(e,o)?(0,tO.isField)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={}
1)[(0,tO.resultKeyNameFromField)(e)]=t,r))})]:((0,tO.isInlineFragment)(e)?c=e:(c=i[e.name.value],(0,eq.invariant)(c,21,e.name.value)),c&&c.typeCondition&&(u=c.typeCondition.name.value,n.fragmentMatcher(r,u,a)))?[2,this.resolveSelectionSet(c.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return e3(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,eA.__awaiter)(this,void 0,void 0,function(){var i,a,o,s,c,u,l,f,h,d=this;return(0,eA.__generator)(this,function(p){return r?(i=n.variables,s=(a=e.name.value)!==(o=(0,tO.resultKeyNameFromField)(e)),u=Promise.resolve(c=r[o]||r[a]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(l=r.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[l])&&(h=f[s?a:o])&&(u=Promise.resolve(rr.withValue(this.cache,h,[r,(0,tO.argumentsObjectFromField)(e,i),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,u.then(function(r){if(void 0===r&&(r=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var i,a,o=null!=(a=null==(i=e.directives)?void 0:i.some(function(e){return"client"===e.name.value}))&&a;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||o,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||o,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(i){if(!n.has(i)){var a=new Set;n.set(i,a),(0,ta.visit)(i,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&re(e)&&a.add(e)})},FragmentSpread:function(n,i,o,s,c){var u=t[n.name.value];(0,eq.invariant)(u,22,n.name.value);var l=e(u);l.size>0&&(c.forEach(function(e){r(e)&&re(e)&&a.add(e)}),a.add(n),l.forEach(function(e){a.add(e)}))}})}return n.get(i)}(e)},e}(),rc=e.i(73343),ru=!1,rl=function(){function e(e){var t,r,n,i=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,eq.newInvariantError)(16);var a=e.uri,o=e.credentials,s=e.headers,c=e.cache,u=e.documentTransform,l=e.ssrMode,f=void 0!==l&&l,h=e.ssrForceFetchDelay,d=void 0===h?0:h,p=e.connectToDevTools,v=e.queryDeduplication,y=void 0===v||v,m=e.defaultOptions,g=e.defaultContext,_=e.assumeImmutableResults,b=void 0===_?c.assumeImmutableResults:_,O=e.resolvers,w=e.typeDefs,S=e.fragmentMatcher,k=e.clientAwareness,E=e.name,R=e.version,T=e.devtools,D=e.dataMasking;!1!==globalThis.__DEV__&&((0,eQ.warnRemovedOption)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,eQ.warnRemovedOption)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,eQ.warnRemovedOption)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,eQ.warnRemovedOption)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,eQ.warnRemovedOption)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,eQ.warnRemovedOption)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,eQ.warnRemovedOption)(e,"typeDefs","ApolloClient"),e.link||!1===globalThis.__DEV__||eq.invariant.warn(17));var F=e.link;F||(F=a?new tx({uri:a,credentials:o,headers:s}):eW.empty()),this.link=F,this.cache=c,this.disableNetworkFetches=f||d>0,this.queryDeduplication=y,this.defaultOptions=m||Object.create(null),this.typeDefs=w,this.devtoolsConfig=(0,eA.__assign)((0,eA.__assign)({},T),{enabled:null!=(t=null==T?void 0:T.enabled)?t:p}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),d&&setTimeout(function(){return i.disableNetworkFetches=!1},d),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=eB.version,this.localState=new rs({cache:c,client:this,resolvers:O,fragmentMatcher:S}
1),this.queryManager=new t7({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:g,documentTransform:u,queryDeduplication:y,ssrMode:f,dataMasking:!!D,clientAwareness:{name:null!=(r=null==k?void 0:k.name)?r:E,version:null!=(n=null==k?void 0:k.version)?n:R},localState:this.localState,assumeImmutableResults:b,onBroadcast:this.devtoolsConfig.enabled?function(){i.devToolsHookCb&&i.devToolsHookCb({action:{},state:{queries:i.queryManager.getQueryStore(),mutations:i.queryManager.mutationStore||{}},dataWithOptimisticResults:i.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e},enumerable:!1,configurable:!0}),e.prototype.connectToDevTools=function(){if("u">typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!ru&&!1!==globalThis.__DEV__&&(ru=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&eq.invariant.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,rc.mergeOptions)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,eA.__assign)((0,eA.__assign)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,eQ.warnRemovedOption)(e,"canonizeResults","client.watchQuery"),(0,eQ.warnRemovedOption)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,rc.mergeOptions)(this.defaultOptions.query,e)),(0,eq.invariant)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,eA.__assign)((0,eA.__assign)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,eQ.warnRemovedOption)(e,"canonizeResults","client.query"),(0,eQ.warnRemovedOption)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&eq.invariant.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,rc.mergeOptions)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(n){return(0,eA.__assign)((0,eA.__assign)({},n),{data:t.queryManager.maskOperation({document:e.query,data:n.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,eA.__assign)((0,eA.__assign)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return eU(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__&&eq.invariant.debug(20,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}
1,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(rl.prototype.getMemoryInternals=tp.getApolloClientMemoryInternals);var rf=e.i(12550),rh=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,tW.wrap)(tw.getFragmentQueryDocument,{max:td.cacheSizes["cache.fragmentQueryDocuments"]||1e3,cache:tz.WeakCache})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e,"canonizeResults","cache.readQuery"),(0,eQ.muteDeprecations)("canonizeResults",function(){return r.read((0,eA.__assign)((0,eA.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,i=e.fragmentName,a=e.from,o=e.optimistic,s=(0,eA.__rest)(e,["fragment","fragmentName","from","optimistic"]),c=this.getFragmentDoc(n,i),u=void 0===a||"string"==typeof a?a:this.identify(a),l=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var f=i||(0,eP.getFragmentDefinition)(n).name.value;u||!1===globalThis.__DEV__||eq.invariant.warn(1,f)}var h=(0,eA.__assign)((0,eA.__assign)({},s),{returnPartialData:!0,id:u,query:c,optimistic:void 0===o||o});return new eM.Observable(function(a){return r.watch((0,eA.__assign)((0,eA.__assign)({},h),{immediate:!0,callback:function(o){var s=l?t9(o.result,n,r,i):o.result;if(!(t&&(0,rf.equalByQuery)(c,{data:t.result},{data:s},e.variables))){var u={data:s,complete:!!o.complete};o.missing&&(u.missing=e3(o.missing.map(function(e){return e.missing}))),t=(0,eA.__assign)((0,eA.__assign)({},o),{result:s}),a.next(u)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e,"canonizeResults","cache.readFragment"),(0,eQ.muteDeprecations)("canonizeResults",function(){return r.read((0,eA.__assign)((0,eA.__assign)({},e),{query:r.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))})},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,eA.__rest)(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,a=(0,eA.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(n,i),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var n=(0,eQ.muteDeprecations)("canonizeResults",function(){return r.readQuery(e)}),i=t(n);return null==i?n:(r.writeQuery((0,eA.__assign)((0,eA.__assign)({},e),{data:i})),i)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var n=(0,eQ.muteDeprecations)("canonizeResults",function(){return r.readFragment(e)}),i=t(n);return null==i?n:(r.writeFragment((0,eA.__assign)((0,eA.__assign)({},e),{data:i})),i)}})},e}();!1!==globalThis.__DEV__&&(rh.prototype.getMemoryInternals=tp.getApolloCacheMemoryInternals);var rd=function(e){function t(r,n,i,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)(o={})[s.path[c]]=s.missing,s.missing=o}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,eA.__extends)(t,e),t}(Error),rp=e.i(80350),rv=Object.prototype.hasOwnProperty;function ry(e){return null==e}function rm(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=ry(n)?ry(i)?void 0:{_id:i}:{id:n}),ry(n)&&!ry(i)&&(n=i),!ry(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var rg={dataIdFromObject:rm,addTypename:!0,resultCaching:!0,canonizeResults:!1};function r_(e){var t=e.canonizeResults;return void 0===t?rg.canonizeResults:t}var rb=/^[_a-z][_0-9a-z]*/i;function rO(e){var t=e.match(rb);return t?t[0]:e}function rw(e){return(0,eZ.isNonNullObject)(e)&&!(0,tO.isReference)(e)&&!(0,e0.isArray)(e)}function rS(e,t){var r=(0,tw.createFragmentMap)((0,eP.getFragmentDefinitions)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var rk=Object.create(null),rE=function(){return rk},rR=Object.create(null),rT=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,t8.maybeDeepFreeze)((0,tO.isReference)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,tO.isReference)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,tO.makeReference)(e);if((0,tO.isReference)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,tO.makeReference)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,eA.__assign)({},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),rv.call(this.data,e)){var r=this.data[e];if(r&&rv.call(r,t))return r[t]}return"__typename"===t&&rv.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof rx?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),rv.call(this.data,e))?this.data[e]:this instanceof rx?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,tO.isReference)(e)&&(e=e.__ref),(0,tO.isReference)(t)&&(t=t.__ref);
1var i="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,eq.invariant)("string"==typeof r,2);var o=new e5(rI).merge(i,a);if(this.data[r]=o,o!==i&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);i||(s.__exists=1),Object.keys(a).forEach(function(e){if(!i||i[e]!==o[e]){s[e]=1;var t=rO(e);t===e||n.policies.hasKeyArgs(o.__typename,t)||(s[t]=1),void 0!==o[e]||n instanceof rx||delete o[e]}}),s.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[r]===o.__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),a=!1,o=!0,s={DELETE:rk,INVALIDATE:rR,isReference:tO.isReference,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,tO.makeReference)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(c){var u=rO(c),l=n[c];if(void 0!==l){var f="function"==typeof t?t:t[c]||t[u];if(f){var h=f===rE?rk:f((0,t8.maybeDeepFreeze)(l),(0,eA.__assign)((0,eA.__assign)({},s),{fieldName:u,storeFieldName:c,storage:r.getStorage(e,c)}));if(h===rR)r.group.dirty(e,c);else if(h===rk&&(h=void 0),h!==l&&(i[c]=h,a=!0,l=h,!1!==globalThis.__DEV__)){var d=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&eq.invariant.warn(3,e),!0};if((0,tO.isReference)(h))d(h);else if(Array.isArray(h))for(var p=!1,v=void 0,y=0,m=h;y<m.length;y++){var g=m[y];if((0,tO.isReference)(g)){if(p=!0,d(g))break}else"object"==typeof g&&g&&r.policies.identify(g)[0]&&(v=g);if(p&&void 0!==v){!1!==globalThis.__DEV__&&eq.invariant.warn(4,v);break}}}}void 0!==l&&(o=!1)}}),a)return this.merge(e,i),o&&(this instanceof rx?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 a=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=rE,n):rE)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(rv.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof rx&&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){rv.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&&rv.call(e,r)||t.delete(r)}),e){var r=e.__META,n=(0,eA.__rest)(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 rx?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){rv.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 rx;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!rv.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,tO.isReference)(e)&&(t[e.__ref]=!0),(0,eZ.isNonNullObject)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,eZ.isNonNullObject)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),rD=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,rt.dep)():null,this.keyMaker=new tL.Trie(eH.canUseWeakMap)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=rO(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 rF(e,t){rj(e)&&e.group.depend(t,"__exists")}a=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,a=e.call(this,r,new rD(void 0===n||n))||this;return a.stump=new rN(a),a.storageTrie=new tL.Trie(eH.canUseWeakMap),i&&a.replace(i),a}return(0,eA.__extends)(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}(i=rT||(rT={})),i.Root=a;var rx=function(e){function t(t,r,n,i){var a=e.call(this,r.policies,i)||this;return a.id=t,a.parent=r,a.replay=n,a.group=i,n(a),a}return(0,eA.__extends)(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,tN.equal)(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,eA.__assign)((0,eA.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return rv.call(this.data,t)?(0,eA.__assign)((0,eA.__assign)({},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}(rT),rN=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new rD(t.group.caching,t.group))||this}return(0,eA.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(rx);function rI(e,t,r){var n=e[r],i=t[r];return(0,tN.equal)(n,i)?n:i}function rj(e){return!!(e instanceof rT&&e.group.caching)}var rC=function(){function e(){this.known=new(eH.canUseWeakSet?WeakSet:Set),this.pool=new tL.Trie(eH.canUseWeakMap),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,eZ.isNonNullObject)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,eZ.isNonNullObject)(e)){var t=(0,eZ.isNonNullObject)(e)?(0,e0.isArray)(e)?e.slice(0):(0,eA.__assign)({__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,eZ.isNonNullObject)(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 a=Object.getPrototypeOf(e),o=[a],s=this.sortedKeys(e);o.push(s.json);var c=o.length;s.sorted.forEach(function(r){o.push(t.admit(e[r]))});var i=this.pool.lookupArray(o);if(!i.object){var u=i.object=Object.create(a);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=o[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}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 rA(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var rq=function(){function e(e){var t=this;this.knownResults=new(eH.canUseWeakMap?WeakMap:Map),this.config=(0,rp.compact)(e,{addTypename:!1!==e.addTypename,canonizeResults:r_(e)}),this.canon=e.canon||new rC,this.executeSelectionSet=(0,tW.wrap)(function(e){var r,n=e.context.canonizeResults,i=rA(e);i[3]=!n;var a=(r=t.executeSelectionSet).peek.apply(r,i);return a?n?(0,eA.__assign)((0,eA.__assign)({},a),{result:t.canon.admit(a.result)}):a:(rF(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||td.cacheSizes["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:rA,makeCacheKey:function(e,t,r,n){if(rj(r.store))return r.store.makeCacheKey(e,(0,tO.isReference)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,tW.wrap)(function(e){return rF(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||td.cacheSizes["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(rj(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new rC},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,i=e.rootId,a=e.variables,o=e.returnPartialData,s=e.canonizeResults,c=void 0===s?this.config.canonizeResults:s,u=this.config.cache.policies;a=(0,eA.__assign)((0,eA.__assign)({},(0,eP.getDefaultValues)((0,eP.getQueryDefinition)(n))),a);var l=(0,tO.makeReference)(void 0===i?"ROOT_QUERY":i),f=this.executeSelectionSet({selectionSet:(0,eP.getMainDefinition)(n).selectionSet,objectOrReference:l,enclosingRef:l,context:(0,eA.__assign)({store:r,query:n,policies:u,variables:a,varString:(0,tI.canonicalStringify)(a),canonizeResults:c},rS(n,this.config.fragments))});if(f.missing&&(t=[new rd(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(f.missing),f.missing,n,a)],!(void 0===o||o)))throw t[0];return{result:f.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(rj(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,a=e.enclosingRef,o=e.context;if((0,tO.isReference)(i)&&!o.policies.rootTypenamesById[i.__ref]&&!o.store.has(i.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(i.__ref," object")};var s=o.variables,c=o.policies,u=o.store.getFieldValue(i,"__typename"),l=[],f=new e5;function h(e,r){var n;return e.missing&&(t=f.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&l.push({__typename:u});var d=new Set(n.selections);d.forEach(function(e){var n,p;if((0,eK.shouldInclude)(e,s))if((0,tO.isField)(e)){var v=c.readField({fieldName:e.n
1ame.value,field:e,variables:o.variables,from:i},o),y=(0,tO.resultKeyNameFromField)(e);void 0===v?tR.added(e)||(t=f.merge(t,((n={})[y]="Can't find field '".concat(e.name.value,"' on ").concat((0,tO.isReference)(i)?i.__ref+" object":"object "+JSON.stringify(i,null,2)),n))):(0,e0.isArray)(v)?v.length>0&&(v=h(r.executeSubSelectedArray({field:e,array:v,enclosingRef:a,context:o}),y)):e.selectionSet?null!=v&&(v=h(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:v,enclosingRef:(0,tO.isReference)(v)?v:a,context:o}),y)):o.canonizeResults&&(v=r.canon.pass(v)),void 0!==v&&l.push(((p={})[y]=v,p))}else{var m=(0,tw.getFragmentFromSelection)(e,o.lookupFragment);if(!m&&e.kind===tb.Kind.FRAGMENT_SPREAD)throw(0,eq.newInvariantError)(10,e.name.value);m&&c.fragmentMatches(m,u)&&m.selectionSet.selections.forEach(d.add,d)}});var p={result:e3(l),missing:t},v=o.canonizeResults?this.canon.admit(p):(0,t8.maybeDeepFreeze)(p);return v.result&&this.knownResults.set(v.result,n),v},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,a=e.enclosingRef,o=e.context,s=new e5;function c(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(i=i.filter(o.store.canRead)),i=i.map(function(e,t){return null===e?null:(0,e0.isArray)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:o}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,tO.isReference)(e)?e:a,context:o}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,eZ.isNonNullObject)(r)&&((0,eq.invariant)(!(0,tO.isReference)(r),11,(0,tO.isReference)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(o.store,n,e),e)}),{result:o.canonizeResults?this.canon.admit(i):i,missing:t}},e}(),rM=e.i(69636),rP=e.i(84382),rQ=Object.create(null);function rV(e){var t=JSON.stringify(e);return rQ[t]||(rQ[t]=Object.create(null))}function rL(e){var t=rV(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},i=r.keyObject=rW(e,function(e){var i=rB(r.storeObject,e,n);return void 0===i&&t!==r.storeObject&&rv.call(t,e[0])&&(i=rB(t,e,rU)),(0,eq.invariant)(void 0!==i,5,e.join("."),t),i});return"".concat(r.typename,":").concat(JSON.stringify(i))})}function rz(e){var t=rV(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,a=r.fieldName,o=JSON.stringify(rW(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(n&&(0,e0.isNonEmptyArray)(n.directives)){var o=r.slice(1),s=n.directives.find(function(e){return e.name.value===o}),c=s&&(0,tO.argumentsObjectFromField)(s,i);return c&&rB(c,e.slice(1))}return}if("$"===a){var u=r.slice(1);if(i&&rv.call(i,u)){var l=e.slice(0);return l[0]=u,rB(i,l)}return}if(t)return rB(t,e)}));return(t||"{}"!==o)&&(a+=":"+o),a})}function rW(e,t){var r=new e5;return(function e(t){var r=rV(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,a){(0,e0.isArray)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,e0.isArray)(t[a+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,a=t(n);if(void 0!==a){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=a,a=i;e=r.merge(e,a)}return e},Object.create(null))}function rU(e,t){return e[t]}function rB(e,t,r){return r=r||rU,function e(t){return(0,eZ.isNonNullObject)(t)?(0,e0.isArray)(t)?t.map(e):rW(Object.keys(t).sort(),function(e){return rB(t,e)}):t}(t.reduce(function e(t,n){return(0,e0.isArray)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function rK(e){return void 0!==e.args?e.args:e.field?(0,tO.argumentsObjectFromField)(e.field,e.variables):null}var rG=function(){},r$=function(e,t){return t.fieldName},rH=function(e,t,r){return(0,r.mergeObjects)(e,t)},rJ=function(e,t){return t},rY=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,eA.__assign)({dataIdFromObject:rm},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,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var o=t&&t.storeObject||e,s=(0,eA.__assign)((0,eA.__assign)({},t),{typename:a,storeObject:o,readField:t&&t.readField||function(){var e=rZ(arguments,o);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),c=a&&this.getTypePolicy(a),u=c&&c.keyFn||this.config.dataIdFromObject;return t1.withValue(!0,function(){for(;u;){var t=u((0,eA.__assign)((0,eA.__assign)({},e),o),s);if((0,e0.isArray)(t))u=rL(t);else{n=t;break}}}),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,a=n.mutationType,o=n.subscriptionType,s=(0,eA.__rest)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),o&&t.setRootTypename("Subscription",r),rv.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?rH:!1===t?rJ:e.merge}o(n,t.merge),n.keyFn=!1===i?rG:(0,e0.isArray)(i)?rL(i):"function"==typeof i?i:n.keyFn,a&&Object.keys(a).forEac
1h(function(t){var n=r[t];n&&(null==n?void 0:n.typename)===e||(n=r[t]={typename:e});var i=a[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===s?r$:(0,e0.isArray)(s)?rz(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),o(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||r$)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,eq.invariant)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(rb);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!rv.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 a=t.supertypeMap.get(i);a&&a.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,eA.__rest)(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,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},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 a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var o=this.getSupertypeSet(t,!0),s=[o],c=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},u=!!(r&&this.fuzzySubtypes.size),l=!1,f=0;f<s.length;++f){var h=s[f];if(h.has(a))return o.has(a)||(l&&!1!==globalThis.__DEV__&&eq.invariant.warn(7,t,a),o.add(a)),!0;h.forEach(c),u&&f===s.length-1&&function e(t,r,n){return!!(0,eZ.isNonNullObject)(r)&&((0,e0.isArray)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,tO.isField)(t)&&(0,eK.shouldInclude)(t,n)){var i=(0,tO.resultKeyNameFromField)(t);return rv.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(u=!1,l=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&c(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),a=i&&i.keyFn;if(a&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=rK(e);a;){var c=a(s,o);if((0,e0.isArray)(c))a=rz(c);else{t=c||n;break}}return(void 0===t&&(t=e.field?(0,tO.storeKeyNameFromField)(e.field,e.variables):(0,tO.getStoreKeyName)(n,rK(e))),!1===t)?n:n===rO(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),a=rO(i),o=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,a),c=s&&s.read;if(c){var u=rX(this,r,e,t,t.store.getStorage((0,tO.isReference)(r)?r.__ref:r,i));return rr.withValue(this.cache,c,[o,u])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),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 a=r.field,o=r.typename,s=r.merge;return s===rH?r0(n.store)(e,t):s===rJ?t:(n.overwrite&&(e=void 0),s(e,t,rX(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:n.variables},n,i||Object.create(null))))},e}();function rX(e,t,r,n,i){var a=e.getStoreFieldName(r),o=rO(a),s=r.variables||n.variables,c=n.store,u=c.toReference,l=c.canRead;return{args:rK(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:tO.isReference,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(rZ(arguments,t,s),n)},mergeObjects:r0(n.store)}}function rZ(e,t,r){var n,i=e[0],a=e[1],o=e.length;return"string"==typeof i?n={fieldName:i,from:o>1?a:t}:(n=(0,eA.__assign)({},i),rv.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&eq.invariant.warn(8,(0,rP.stringifyForDisplay)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function r0(e){return function(t,r){if((0,e0.isArray)(t)||(0,e0.isArray)(r))throw(0,eq.newInvariantError)(9);if((0,eZ.isNonNullObject)(t)&&(0,eZ.isNonNullObject)(r)){var n=e.getFieldValue(t,"__typename"),i=e.getFieldValue(r,"__typename");if(n&&i&&n!==i)return r;if((0,tO.isReference)(t)&&rw(r))return e.merge(t.__ref,r),t;if(rw(t)&&(0,tO.isReference)(r))return e.merge(t,r.__ref),r;if(rw(t)&&rw(r))return(0,eA.__assign)((0,eA.__assign)({},t),r)}return r}}function r1(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,eA.__assign)((0,eA.__assign)({},e),{clientOnly:t,deferred:r})),i}var r2=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,a=t.dataId,o=t.variables,s=t.overwrite,c=(0,eP.getOperationDefinition)(n),u=new e5;o=(0,eA.__assign)((0,eA.__assign)({},(0,eP.getDefaultValues)(c)),o);var l=(0,eA.__assign)((0,eA.__assign)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:o,varString:(0,tI.canonicalStringify)(o)},rS(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),f=this.processSelectionSet({result:i||Object.create(null),dataId:a,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!(0,tO.isReference)(f))throw(0,eq.newInvariantError)(12,i);
1return l.incomingById.forEach(function(t,n){var i=t.storeObject,a=t.mergeTree,o=t.fieldNodeSet,s=(0,tO.makeReference)(n);if(a&&a.map.size){var c=r.applyMerges(a,s,i,l);if((0,tO.isReference)(c))return;i=c}if(!1!==globalThis.__DEV__&&!l.overwrite){var u=Object.create(null);o.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});var f=function(e){var t=a&&a.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(i).forEach(function(e){!0!==u[rO(e)]||f(e)||function(e,t,r,n){var i=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},a=i(e);if(a){var o=i(t);if(!(!o||(0,tO.isReference)(a)||(0,tN.equal)(a,o)||Object.keys(a).every(function(e){return void 0!==n.getFieldValue(o,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),c=rO(r),u="".concat(s,".").concat(c);if(!r6.has(u)){r6.add(u);var l=[];(0,e0.isArray)(a)||(0,e0.isArray)(o)||[a,o].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)}),!1!==globalThis.__DEV__&&eq.invariant.warn(15,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,eA.__assign)({},a),(0,eA.__assign)({},o))}}}}(s,i,e,l.store)})}e.merge(n,i)}),e.retain(f.__ref),f},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,a=e.context,o=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=r&&s.rootTypenamesById[r]||(0,tO.getTypenameFromResult)(n,i,a.fragmentMap)||r&&a.store.get(r,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=rZ(arguments,c,a.variables);if((0,tO.isReference)(e.from)){var t=a.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,eA.__assign)((0,eA.__assign)({},e),{from:t.storeObject}),a);if(void 0!==r)return r}}return s.readField(e,a)},f=new Set;this.flattenFields(i,n,a,u).forEach(function(e,r){var i,a=n[(0,tO.resultKeyNameFromField)(r)];if(f.add(r),void 0!==a){var h=s.getStoreFieldName({typename:u,fieldName:r.name.value,field:r,variables:e.variables}),d=r8(o,h),p=t.processFieldValue(a,r,r.selectionSet?r1(e,!1,!1):e,d),v=void 0;r.selectionSet&&((0,tO.isReference)(p)||rw(p))&&(v=l("__typename",p));var y=s.getMergeFunction(u,r.name.value,v);y?d.info={field:r,typename:u,merge:y}:r9(o,h),c=e.merge(c,((i={})[h]=p,i))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||tR.added(r)||s.getReadFunction(u,r.name.value)||!1===globalThis.__DEV__||eq.invariant.error(13,(0,tO.resultKeyNameFromField)(r),n)});try{var h=s.identify(n,{typename:u,selectionSet:i,fragmentMap:a.fragmentMap,storeObject:c,readField:l}),d=h[0],p=h[1];r=r||d,p&&(c=a.merge(c,p))}catch(e){if(!r)throw e}if("string"==typeof r){var v=(0,tO.makeReference)(r),y=a.written[r]||(a.written[r]=[]);if(y.indexOf(i)>=0||(y.push(i),this.reader&&this.reader.isFresh(n,v,i,a)))return v;var m=a.incomingById.get(r);return m?(m.storeObject=a.merge(m.storeObject,c),m.mergeTree=function e(t,r){if(t===r||!r||r5(r))return t;if(!t||r5(t))return r;var n=t.info&&r.info?(0,eA.__assign)((0,eA.__assign)({},t.info),r.info):t.info||r.info,i=t.map.size&&r.map.size,a={info:n,map:i?new Map:t.map.size?t.map:r.map};if(i){var o=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),o.delete(n)}),o.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(m.mergeTree,o),f.forEach(function(e){return m.fieldNodeSet.add(e)})):a.incomingById.set(r,{storeObject:c,mergeTree:r5(o)?void 0:o,fieldNodeSet:f}),v}return c},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,e0.isArray)(e)?e.map(function(e,a){var o=i.processFieldValue(e,t,r,r8(n,a));return r9(n,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,rM.cloneDeep)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,tO.getTypenameFromResult)(t,e,r.fragmentMap));var i=new Map,a=this.cache.policies,o=new tL.Trie(!1);return!function e(s,c){var u=o.lookup(s,c.clientOnly,c.deferred);
1u.visited||(u.visited=!0,s.selections.forEach(function(o){if((0,eK.shouldInclude)(o,r.variables)){var s=c.clientOnly,u=c.deferred;if(!(s&&u)&&(0,e0.isNonEmptyArray)(o.directives)&&o.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=(0,tO.argumentsObjectFromField)(e,r.variables);n&&!1===n.if||(u=!0)}}),(0,tO.isField)(o)){var l=i.get(o);l&&(s=s&&l.clientOnly,u=u&&l.deferred),i.set(o,r1(r,s,u))}else{var f=(0,tw.getFragmentFromSelection)(o,r.lookupFragment);if(!f&&o.kind===tb.Kind.FRAGMENT_SPREAD)throw(0,eq.newInvariantError)(14,o.name.value);f&&a.fragmentMatches(f,n,t,r.variables)&&e(f.selectionSet,r1(r,s,u))}}}))}(e,r),i},e.prototype.applyMerges=function(e,t,r,n,i){var a=this;if(e.map.size&&!(0,tO.isReference)(r)){var o,s,c=!(0,e0.isArray)(r)&&((0,tO.isReference)(t)||rw(t))?t:void 0,u=r;c&&!i&&(i=[(0,tO.isReference)(c)?c.__ref:c]);var l=function(e,t){return(0,e0.isArray)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=l(c,t),o=l(u,t);if(void 0!==o){i&&i.push(t);var f=a.applyMerges(e,r,o,n,i);f!==o&&(s=s||new Map).set(t,f),i&&(0,eq.invariant)(i.pop()===t)}}),s&&(r=(0,e0.isArray)(u)?u.slice(0):(0,eA.__assign)({},u),s.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(o=n.store).getStorage.apply(o,i)):r},e}(),r3=[];function r8(e,t){var r=e.map;return r.has(t)||r.set(t,r3.pop()||{map:new Map}),r.get(t)}function r5(e){return!e||!(e.info||e.map.size)}function r9(e,t){var r=e.map,n=r.get(t);n&&r5(n)&&(r3.push(n),r.delete(t))}var r6=new Set,r4=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new tB(tR),n.assumeImmutableResults=!0,n.makeVar=ro,n.txCount=0,!1!==globalThis.__DEV__&&((0,eQ.warnRemovedOption)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,eQ.warnRemovedOption)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r=t,n.config=(0,rp.compact)(rg,r),n.addTypename=!!n.config.addTypename,n.policies=new rY({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,eA.__extends)(t,e),t.prototype.init=function(){var e=this.data=new rT.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.addTypenameTransform.resetCache(),null==n||n.resetCaches(),this.storeWriter=new r2(this,this.storeReader=new rq({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:r_(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,tW.wrap)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||td.cacheSizes["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(rj(r)){var n=e.optimistic,i=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,tI.canonicalStringify)({optimistic:n,id:i,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e,"canonizeResults","cache.read");var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,eA.__assign)((0,eA.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof rd)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(rv.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!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e,"canonizeResults","cache.diff"),this.storeReader.diffQueryAgainstStore((0,eA.__assign)((0,eA.__assign)({},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;
1return this.watches.size||(t=this,ri(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&&ra(r),r.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,eQ.warnRemovedOption)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),tI.canonicalStringify.reset(),tv.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,tO.isReference)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&eq.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(rv.call(e,"id"))return!1;e=(0,eA.__assign)((0,eA.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),tI.canonicalStringify.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),ra(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,a=void 0===i||i,o=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var i=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=i,r.optimisticData=a}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,eA.__assign)((0,eA.__assign)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof o&&(this.optimisticData=this.optimisticData.removeLayer(o)),s&&u.size?(this.broadcastWatches((0,eA.__assign)((0,eA.__assign)({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&u.delete(e),r}})),u.size&&u.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=this,n=e.lastDiff,i=(0,eQ.muteDeprecations)("canonizeResults",function(){return r.diff(e)});(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,n)))&&(n&&(0,tN.equal)(n.result,i.result)||e.callback(e.lastDiff=i,n))},t}(rh);function r7(e){return new eW(function(t,r){return new eM.Observable(function(n){var i,a,o;try{i=r(t).subscribe({next:function(i){if(i.errors?o=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}):(0,eX.graphQLResultHasProtocolErrors)(i)&&(o=e({protocolErrors:i.extensions[eX.PROTOCOL_ERRORS_SYMBOL],response:i,operation:t,forward:r})),o){a=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(o=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){a=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){o||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),a&&i.unsubscribe()}})})}!1!==globalThis.__DEV__&&(r4.prototype.getMemoryInternals=tp.getInMemoryCacheMemoryInternals);function ne(e){var t=eW.call(this)||this;return t.link=r7(e),t}(0,eA.__extends)(ne,eW),ne.prototype.request=function(e,t){return this.link.request(e,t)};var nt=e.i(97507),nr=e.i(63306);let nn=r7(({graphQLErrors:e,networkError:t,operation:r})=>{if(e&&(e.map(({message:e,locations:t,path:n})=>console.warn(`[GraphQL error - ${r.operationName}]: Message: ${e}, Location: ${t}, Path: ${n}`)),e.find(e=>"User not logged in"===e.message||"Not authenticated"===e.message))){(0,nt.setLoginState)(!1),window.location.href="/login";return}t&&console.warn(`[Network error - ${r.operationName}]: ${t}`)}),ni=null;e.s(["APOLLO_STATE_PROP_NAME",0,"__APOLLO_STATE__","getApolloClient",0,(e=null,t=null)=>{let r=ni??(({serverCookies:e=null}={})=>{let t;return new rl({ssrMode:!1,link:eW.from([nn,(t={},new tx({uri:"/graphql",fetch:(e,r)=>fetch(e,{...r,headers:{...r?.headers,...t}}),credentials:"include"}))]),cache:new r4({possibleTypes:nr.default.possibleTypes,typePolicies:{Day:{keyFields:["day"]},SponsorsByLevel:{keyFields:["level"]},TicketItem:{keyFields:!1},Question:{keyFields:!1}}})})})({serverCookies:t});if(e){let t=r.extract(),n=(0,s.default)(e,t,{arrayMerge:(e,t)=>
1[...t,...e.filter(e=>t.every(t=>!function e(t,r,n,i,a){return t===r||(null!=t&&null!=r&&(eI(t)||eI(r))?function(e,t,r,n,i,a){var o=eT(e),s=eT(t),c=o?l:eS(e),p=s?l:eS(t);c=c==u?m:c,p=p==u?m:p;var g=c==m,w=p==m,E=c==p;if(E&&eD(e),E&&!g)return a||(a=new ep),o||ej(e)?eg(e,t,r,n,i,a):function(e,t,r,n,i,a,o){switch(r){case k:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case S:if(e.byteLength!=t.byteLength||!a(new B(e),new B(t)))break;return!0;case f:case h:case y:return eE(+e,+t);case d:return e.name==t.name&&e.message==t.message;case _:case O:return e==t+"";case v:var s=j;case b:var c=1&n;if(s||(s=C),e.size!=t.size&&!c)break;var u=o.get(e);if(u)return u==t;n|=2,o.set(e,t);var l=eg(s(e),s(t),n,i,a,o);return o.delete(e),l;case"[object Symbol]":if(eu)return eu.call(e)==eu.call(t)}return!1}(e,t,c,r,n,i,a);if(!(1&r)){var R=g&&V.call(e,"__wrapped__"),T=w&&V.call(t,"__wrapped__");if(R||T){var D=R?e.value():e,F=T?t.value():t;return a||(a=new ep),i(D,F,r,n,a)}}return!!E&&(a||(a=new ep),function(e,t,r,n,i,a){var o=1&r,s=e_(e),c=s.length;if(c!=e_(t).length&&!o)return!1;for(var u=c;u--;){var l=s[u];if(!(o?l in t:V.call(t,l)))return!1}var f=a.get(e);if(f&&a.get(t))return f==t;var h=!0;a.set(e,t),a.set(t,e);for(var d=o;++u<c;){var p=e[l=s[u]],v=t[l];if(n)var y=o?n(v,p,l,t,e,a):n(p,v,l,e,t,a);if(!(void 0===y?p===v||i(p,v,r,n,a):y)){h=!1;break}d||(d="constructor"==l)}if(h&&!d){var m=e.constructor,g=t.constructor;m!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof m&&m instanceof m&&"function"==typeof g&&g instanceof g)&&(h=!1)}return a.delete(e),a.delete(t),h}(e,t,r,n,i,a))}(t,r,n,i,e,a):t!=t&&r!=r)}(e,t)))]});r.cache.restore(n)}return ni||(ni=r),ni}],67623)},55823,e=>{"use strict";var t=e.i(67367),r=e.i(32158),n=e.i(94908),i=e.i(92103),a=e.i(22578);e.s(["ProductQuestionnaire",0,({product:e,productUserInformation:o,index:s,updateTicketInfo:c,updateQuestionAnswer:u,hideAttendeeEmail:l=!1,cols:f=3})=>{let h=(0,a.useCurrentLanguage)(),d=o.answers,p=(0,i.useTranslatedMessage)("input.placeholder"),v=e=>(0,i.getTranslatedMessage)(e,h);return(0,t.jsxs)(r.Grid,{cols:f,alignItems:"end",children:[e.admission&&(0,t.jsx)(r.InputWrapper,{required:!0,title:(0,t.jsx)(n.FormattedMessage,{id:"orderQuestions.attendeeGivenName"}),children:(0,t.jsx)(r.Input,{required:!0,onChange:e=>c({id:o.id,index:o.index,key:"attendeeGivenName",value:e.target.value}),autoComplete:"none",placeholder:v("orderQuestions.attendeeGivenName.placeholder"),value:o.attendeeGivenName,errors:o?.errors?.attendeeName?.givenName})},"attendeeGivenName"),e.admission&&(0,t.jsx)(r.InputWrapper,{required:!0,title:(0,t.jsx)(n.FormattedMessage,{id:"orderQuestions.attendeeFamilyName"}),children:(0,t.jsx)(r.Input,{required:!0,onChange:e=>c({id:o.id,index:o.index,key:"attendeeFamilyName",value:e.target.value}),placeholder:v("orderQuestions.attendeeFamilyName.placeholder"),autoComplete:"none",value:o.attendeeFamilyName,errors:o?.errors?.attendeeName?.familyName})},"attendeeFamilyName"),e.admission&&!l&&(0,t.jsx)(r.InputWrapper,{required:!0,title:(0,t.jsx)(n.FormattedMessage,{id:"orderQuestions.attendeeEmail"}),children:(0,t.jsx)(r.Input,{required:!0,autoComplete:"email",type:"email",placeholder:p,disabled:o.isMe,onChange:e=>c({id:o.id,index:o.index,key:"attendeeEmail",value:e.target.value}),value:o.attendeeEmail,errors:o?.errors?.attendeeEmail})},"attendeeEmail"),e.questions.map(e=>(0,t.jsx)(r.InputWrapper,{required:e.required,title:e.name,children:0===e.options.length?(0,t.jsx)(r.Input,{required:e.required,placeholder:p,autoComplete:"off",type:"text",onChange:t=>u({id:o.id,index:o.index,question:e.id,answer:t.target.value}),value:d[e.id],errors:o?.errors?.answers?.[e.id]}):(0,t.jsx)(r.Select,{required:e.required,value:d[e.id],onChange:t=>{u({id:o.id,index:o.index,question:e.id,answer:t.target.value})},errors:o?.errors?.answers?.[e.id],children:e.options.map(e=>(0,t.jsx)("option",{value:e.id,children:e.name},e.id))})},e.id))]})}])}]);

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.