1"use strict";(self.webpackChunkvue_storefront=self.webpackChunkvue_storefront||[]).push([[2373],{9080:function(X,U,y){y.d(U,{a:function(){return O}});var v=y(63844),L=y(15381),C=y(21796);function O(P,T,D,k){var S=T.data,x=(0,v.Tt)(T,["data"]),B=D.data,V=(0,v.Tt)(D,["data"]);return(0,L.A)(x,V)&&s((0,C.Vn)(P).selectionSet,S,B,{fragmentMap:(0,C.JG)((0,C.zK)(P)),variables:k})}function s(P,T,D,k){if(T===D)return!0;var S=new Set;return P.selections.every(function(x){if(S.has(x)||(S.add(x),!(0,C.MS)(x,k.variables))||A(x))return!0;if((0,C.dt)(x)){var B=(0,C.ue)(x),V=T&&T[B],q=D&&D[B],z=x.selectionSet;if(!z)return(0,L.A)(V,q);var H=Array.isArray(V),j=Array.isArray(q);if(H!==j)return!1;if(H&&j){var Y=V.length;if(q.length!==Y)return!1;for(var n=0;n<Y;++n)if(!s(z,V[n],q[n],k))return!1;return!0}return s(z,V,q,k)}else{var e=(0,C.HQ)(x,k.fragmentMap);if(e)return A(e)?!0:s(e.selectionSet,T,D,k)}})}function A(P){return!!P.directives&&P.directives.some(w)}function w(P){return P.name.value==="nonreactive"}},21659:function(X,U,y){y.r(U),y.d(U,{ApolloCache:function(){return s.kn},ApolloClient:function(){return v.R},ApolloError:function(){return O.K4},ApolloLink:function(){return A.Ch},Cache:function(){return s.l2},DocumentTransform:function(){return T.c1},HttpLink:function(){return w.PR},InMemoryCache:function(){return s.D9},MissingFieldError:function(){return s.Zg},NetworkStatus:function(){return C.pT},Observable:function(){return T.cP},ObservableQuery:function(){return L.U},checkFetcher:function(){return w.Sl},concat:function(){return A.xW},createHttpLink:function(){return w.$9},createSignalIfSupported:function(){return w.Sg},defaultDataIdFromObject:function(){return s.or},defaultPrinter:function(){return w.i1},disableExperimentalFragmentVariables:function(){return k.disableExperimentalFragmentVariables},disableFragmentWarnings:function(){return k.disableFragmentWarnings},empty:function(){return A.Ie},enableExperimentalFragmentVariables:function(){return k.enableExperimentalFragmentVariables},execute:function(){return A.g7},fallbackHttpConfig:function(){return w.R4},from:function(){return A.HT},fromError:function(){return P.NQ},fromPromise:function(){return P.Sx},gql:function(){return k.gql},isApolloError:function(){return O.Mn},isNetworkRequestSettled:function(){return C.D2},isReference:function(){return T.A_},makeReference:function(){return T.WU},makeVar:function(){return s.UT},mergeOptions:function(){return v.l},parseAndCheckHttpResponse:function(){return w.OQ},resetCaches:function(){return k.resetCaches},rewriteURIForGET:function(){return w.EQ},selectHttpOptionsAndBody:function(){return w.Wz},selectHttpOptionsAndBodyInternal:function(){return w.HY},selectURI:function(){return w.zX},serializeFetchParameter:function(){return w.Ye},setLogVerbosity:function(){return D.Q9},split:function(){return A.lD},throwServerError:function(){return P.As},toPromise:function(){return P.hq}});var v=y(27408),L=y(72988),C=y(88599),O=y(9211),s=y(71891),A=y(82957),w=y(38280),P=y(74709),T=y(21796),D=y(60507),k=y(11057);(0,D.Q9)(globalThis.__DEV__!==!1?"log":"silent")},43125:function(X,U,y){y.d(U,{E:function(){return Y}});var v=y(63844),L=y(44009),C=y(15381),O=y(82957),s=y(21796),A=y(71891),w=y(56453),P=y(9211),T=y(72988),D=y(88599),k=y(15737),S=new(s.et?WeakMap:Map);function x(n,e){var t=n[e];typeof t=="function"&&(n[e]=function(){return S.set(n,(S.get(n)+1)%1e15),t.apply(this,arguments)})}var B=function(){function n(e,t){t===void 0&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;S.has(r)||(S.set(r,0),x(r,"evict"),x(r,"modify"),x(r,"reset"))}return n.prototype.init=function(e){var t=e.networkStatus||D.pT.loading;return this.variables&&this.networkStatus!==D.pT.loading&&!(0,C.L)(this.variables,e.variables)&&(t=D.pT.setVariables),(0,C.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},n.prototype.resetDiff=function(){this.lastDiff=void 0},n.prototype.getDiff=function(){var e=this,t=this.getDiffOptions();if(this.lastDiff&&(0,C.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&r.options.fetchPolicy==="no-cache")return{complete:!1};var i=(0,k.lz)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(i,t),i},n.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},n.prototype.getDiffOptions=function(e){var t;return e===void 0&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:(t=this.observableQuery)===null||t===void 0?void 0:t.options.canonizeResults}},n.prototype.setDiff=function(e){var t=this,r,i=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(0,k.lz)("getLastError",function(){var a;return(a=t.observableQuery)===null||a===void 0?void 0:a.getLastError()})||(this.updateLastDiff(e),(0,C.L)(i&&i.result,e&&e.result)||(r=this.observableQuery)===null||r===void 0||r.sc
1heduleNotify())},n.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},n.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,(e=this.observableQuery)===null||e===void 0||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},n.prototype.cancel=function(){var e;(e=this.cancelWatch)===null||e===void 0||e.call(this),this.cancelWatch=void 0},n.prototype.updateWatch=function(e){var t=this;e===void 0&&(e=this.variables);var r=this.observableQuery;if(!(r&&r.options.fetchPolicy==="no-cache")){var i=(0,v.Cl)((0,v.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(a){return t.setDiff(a)}});(!this.lastWatch||!(0,C.L)(i,this.lastWatch))&&(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},n.prototype.resetLastWrite=function(){this.lastWrite=void 0},n.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===S.get(this.cache)&&(0,C.L)(t,r.variables)&&(0,C.L)(e.data,r.result.data))},n.prototype.markResult=function(e,t,r,i){var a=this,l,o=new s.ZI,f=(0,s.EI)(e.errors)?e.errors.slice(0):[];if((l=this.observableQuery)===null||l===void 0||l.resetNotifications(),"incremental"in e&&(0,s.EI)(e.incremental)){var c=(0,s.bd)(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=f,r.fetchPolicy==="no-cache"?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):i!==0&&(V(e,r.errorPolicy)?this.cache.performTransaction(function(d){if(a.shouldWrite(e,r.variables))d.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:i===1}),a.lastWrite={result:e,variables:r.variables,dmCount:S.get(a.cache)};else if(a.lastDiff&&a.lastDiff.diff.complete){e.data=a.lastDiff.diff.result;return}var p=a.getDiffOptions(r.variables),g=(0,k.lz)("canonizeResults",function(){return d.diff(p)});!a.stopped&&(0,C.L)(a.variables,r.variables)&&a.updateWatch(r.variables),a.updateLastDiff(g,p),g.complete&&(e.data=g.result)}):this.lastWrite=void 0)},n.prototype.markReady=function(){return this.networkError=null,this.networkStatus=D.pT.ready},n.prototype.markError=function(e){var t;return this.networkStatus=D.pT.error,this.lastWrite=void 0,(t=this.observableQuery)===null||t===void 0||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},n}();function V(n,e){e===void 0&&(e="none");var t=e==="ignore"||e==="all",r=!(0,s.to)(n);return!r&&t&&n.data&&(r=!0),r}var q=y(32453),z=y(4851),H=Object.prototype.hasOwnProperty,j=Object.create(null),Y=function(){function n(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new s.Ar(s.vd["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new q.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new s.c1(function(a){return t.cache.transformDocument(a)},{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 i=e.documentTransform;this.documentTransform=i?r.concat(i).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return n.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,L.vA)(35))},n.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},n.prototype.mutate=function(e){return(0,v.sH)(this,arguments,void 0,function(t){var r,i,a,l,o,f,c,u=t.mutation,d=t.variables,p=t.optimisticResponse,g=t.updateQueries,m=t.refetchQueries,h=m===void 0?[]:m,E=t.awaitRefetchQueries,b=E===void 0?!1:E,Q=t.update,R=t.onQueryUpdated,M=t.fetchPolicy,_=M===void 0?((f=this.defaultOptions.mutate)===null||f===void 0?void 0:f.fetchPolicy)||"network-only":M,I=t.errorPolicy,N=I===void 0?((c=this.defaultOptions.mutate)===null||c===void 0?void 0:c.errorPolicy)||"none":I,F=t.keepRootFields,K=t.context;return(0,v.YH)(this,function(Z){switch(Z.label){case 0:return(0,L.V1)(u,36),(0,L.V1)(_==="network-only"||_==="no-cache",37),r=this.generateMutationId(),u=this.cache.transformForLink(this.transform(u)),i=this.getDocumentInfo(u).hasClientExports,d=this.getVariables(u,d),i?[4,this.localState.addExportedVariables(u,d,K)]:[3,2];case 1:d=Z.sent(),Z.label=2;case 2:return a=this.mutationStore&&(this.mutationStore[r]={mutation:u,variables:d,loading:!0,error:null}),l=p&&this.markMutationOptimistic(p,{mutationId:r,document:u,variables:d,fetchPolicy:_,errorPolicy:N,context:K,updateQueries:g,update:Q,keepRootFields:F}),this.broadcastQueries(),o=this,[2,new Promise(function($,J){return(0,s.xb)(o.getObservableFromLink(u,(0,v.Cl)((0,v.Cl)({},K),{optimisticResponse:l?p:void 0}),d,{},!1),function(W){if((0,s.to)(W)&&N==="none")throw new P.K4({graphQLErrors:(0,s.Mu)(W)});a&&(a.loading=!1,a.error=null);var G=(0,v.Cl)({},W);return typeof h=="function"&&(h=h(G)),N==="ignore"&&(0,s.to)(G)&&delete G.errors,o.markMutationResult({mutationId:r,result:G,document:u,variables:d,fetchPolicy:_,errorPolicy:N,context:K,update:Q,updateQueries:g,awaitRefetchQueries:b,refetchQueries:h,removeOptimistic:l?r:void 0,onQueryUpdated:R,keepRootFields:F})}).subscribe({next:function(W){o.broadcastQueries(),(!("hasNext"in W)||W.hasNext===!1)&&$((0,v.Cl)((0,v.Cl)({},W),{data:o.maskOperation({document:u,data:W.data,fetchPolicy:_,id:r})}))},error:function(W){a&&(a.loading=!1,a.error=W),l&&o.cache.removeOptimistic(r),o.broadcastQueries(),J(W instanceof P.K4?W:new P.K4({networkError:W}))}})})]}})})},n.prototype.markMutationResult=function(e,t){var r=this;t===void 0&&(t=this.cache);var i=e.result,a=[],l=e.fetchPolicy==="no-cache";if(!l&&V(i,e.errorPolicy)){if((0,s.ST)(i)||a.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,s.ST)(i)&&(0,s.EI)(i.incremental)){var o=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),f=void 0;o.result&&(f=(0,w.bd)(o.result,i)),typeof f<"u"&&(i.data=f,a.push({result:f,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(d,p){var g=d.observableQuery,m=g&&g.queryName;if(!(!m||!H.call(c,m))){var h=c[m],E=r.queries.get(p),b=E.document,Q=E.variables,R=t.diff({query:b,variables:Q,returnPartialData:!0,optimistic:!1}),M=R.result,_=R.complete;if(_&&M){var I=h(M,{mutationResult:i,queryName:b&&(0,s.n4)(b)||void 0,queryVariables:Q});I&&a.push({result:I,dataId:"ROOT_QUERY",query:b,variables:Q})}}})}if(a.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(d){l||a.forEach(function(h){return d.write(h)});var p=e.update,g=!(0,s.YX)(i)||(0,s.ST)(i)&&!i.hasNext;if(p){if(!l){var m=d.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});m.complete&&(i=(0,v.Cl)((0,v.Cl)({},i),{data:m.result}),"incremental"in i&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}g&&p(d,i,{context:e.context,variables:e.variables})}!l&&!e.keepRootFields&&g&&d.modify({id:"ROOT_MUTATION",fields:function(h,E){var b=E.fieldName,Q=E.DELETE;return b==="__typename"?h:Q}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(d){return u.push(d)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then(function(){return i})}return Promise.resolve(i)},n.prototype.markMutationOptimistic=function(e,t){var r=this,i=typeof e=="function"?e(t.variables,{IGNORE:j}):e;return i===j?!1:(this.cache.recordOptimisticTransaction(function(a){try{r.markMutationResult((0,v.Cl)((0,v.Cl)({},t),{result:{data:i}}),a)}catch(l){globalThis.__DEV__!==!1&&L.V1.error(l)}},t.mutationId),!0)},n.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},n.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},n.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},n.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},n.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,s.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,s.d8)(["nonreactive"],e),nonReactiveQuery:(0,s.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,s.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,s.wY)((0,s.Vu)(e)),asQuery:(0,v.Cl)((0,v.Cl)({},e),{definitions:e.definitions.map(function(i){return i.kind==="OperationDefinition"&&i.operation!=="query"?(0,v.Cl)((0,v.Cl)({},i),{operation:"query"}):i})})};t.set(e,r)}return t.get(e)},n.prototype.getVariables=function(e,t){return(0,v.Cl)((0,v.Cl)({},this.getDocumentInfo(e).defaultVars),t)},n.prototype.watchQuery=function(e){var t=this.transform(e.query);e=(0,v.Cl)((0,v.Cl)({},e),{variables:this.getVariables(t,e.variables)}),typeof e.notifyOnNetworkStatusChange>"u"&&(e.notifyOnNetworkStatusChange=!1);var r=new B(this),i=new T.U({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,T.U.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},n.prototype.query=function(e,t){var r=this;t===void 0&&(t=this.generateQueryId()),(0,L.V1)(e.query,38),(0,L.V1)(e.query.kind==="Document",39),(0,L.V1)(!e.returnPartialData,40),(0,L.V1)(!e.pollInterval,41);var i=this.transform(e.query);return this.fetchQuery(t,(0,v.Cl)((0,v.Cl)({},e),{query:i})).then(function(a){return a&&(0,v.Cl)((0,v.Cl)({},a),{data:r.maskOperation({document:i,data:a.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},n.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},n.prototype.generateRequestId=function(){return this.requestIdCounter++},n.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},n.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},n.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},n.prototype.clearStore=function(e){return e===void 0&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,L.vA)(42)),this.queries.forEach(function(t){t.observableQuery?t.networkStatus=D.pT.loading:t.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},n.prototype.getObservableQueries=function(e){var t=this;e===void 0&&(e="active");var r=new Map,i=new Map,a=new Map,l=new Set;return Array.isArray(e)&&e.forEach(function(o){if(typeof o=="string")i.set(o,o),a.set(o,!1);else if((0,s.Kc)(o)){var f=(0,s.yy)(t.transform(o));i.set(f,(0,s.n4)(o)),a.set(f,!1)}else(0,s.UU)(o)&&o.query&&l.add(o)}),this.queries.forEach(function(o,f){var c=o.observableQuery,u=o.document;if(c){if(e==="all"){r.set(f,c);return}var d=c.queryName,p=c.options.fetchPolicy;if(p==="standby"||e==="active"&&!c.hasObservers())return;(e==="active"||d&&a.has(d)||u&&a.has((0,s.yy)(u)))&&(r.set(f,c),d&&a.set(d,!0),u&&a.set((0,s.yy)(u),!0))}}),l.size&&l.forEach(function(o){var f=(0,s.vL)("legacyOneTimeQuery"),c=t.getOrCreateQuery(f).init({document:o.query,variables:o.variables}),u=new T.U({queryManager:t,queryInfo:c,options:(0,v.Cl)((0,v.Cl)({},o),{fetchPolicy:"network-only"})});(0,L.V1)(u.queryId===f),c.setObservableQuery(u),r.set(f,u)}),globalThis.__DEV__!==!1&&a.size&&a.forEach(function(o,f){if(!o){var c=i.get(f);c?globalThis.__DEV__!==!1&&L.V1.warn(43,c):globalThis.__DEV__!==!1&&L.V1.warn(44)}}),r},n.prototype.reFetchObservableQueries=function(e){var t=this;e===void 0&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(i,a){var l=i.options.fetchPolicy;(0,k.lz)("resetLastResults",function(){return i.resetLastResults()}),(e||l!=="standby"&&l!=="cache-only")&&r.push(i.refetch()),(t.queries.get(a)||i.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},n.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,i=e.variables,a=e.fetchPolicy,l=e.errorPolicy,o=l===void 0?"none":l,f=e.context,c=f===void 0?{}:f,u=e.extensions,d=u===void 0?{}:u;r=this.transform(r),i=this.getVariables(r,i);var p=function(m){return t.getObservableFromLink(r,c,m,d).map(function(h){a!=="no-cache"&&(V(h,o)&&t.cache.write({query:r,result:h.data,dataId:"ROOT_SUBSCRIPTION",variables:m}),t.broadcastQueries());var E=(0,s.to)(h),b=(0,P.uR)(h);if(E||b){var Q={};if(E&&(Q.graphQLErrors=h.errors),b&&(Q.protocolErrors=h.extensions[P.K$]),o==="none"||b)throw new P.K4(Q)}return o==="ignore"&&delete h.errors,h})};if(this.getDocumentInfo(r).hasClientExports){var g=this.localState.addExportedVariables(r,i,c).then(p);return new s.cP(function(m){var h=null;return g.then(function(E){return h=E.subscribe(m)},m.error),function(){return h&&h.unsubscribe()}})}return p(i)},n.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},n.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},n.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&((t=this.queries.get(e))===null||t===void 0||t.stop(),this.queries.delete(e))},n.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return(t=e.observableQuery)===null||t===void 0?void 0:t.notify()})},n.prototype.getLocalState=function(){return this.localState},n.prototype.getObservableFromLink=function(e,t,r,i,a){var l=this,o;a===void 0&&(a=(o=t?.queryDeduplication)!==null&&o!==void 0?o:this.queryDeduplication);var f,c=this.getDocumentInfo(e),u=c.serverQuery,d=c.clientQuery;if(u){var p=this,g=p.inFlightLinkObservables,m=p.link,h={query:u,variables:r,operationName:(0,s.n4)(u)||void 0,context:this.prepareContext((0,v.Cl)((0,v.Cl)({},t),{forceFetch:!a})),extensions:i};if(t=h.context,a){var E=(0,s.yy)(u),b=(0,A.MW)(r),Q=g.lookup(E,b);if(f=Q.observable,!f){var R=new s.En([(0,O.g7)(m,h)]);f=Q.observable=R,R.beforeNext(function M(_,I){_==="next"&&"hasNext"in I&&I.hasNext?R.beforeNext(M):g.remove(E,b)})}}else f=new s.En([(0,O.g7)(m,h)])}else f=new s.En([s.cP.of({data:{}})]),t=this.prepareContext(t);return d&&(f=(0,s.xb)(f,function(M){return l.localState.runResolvers({document:d,remoteResult:M,context:t,variables:r})})),f},n.prototype.getResultsFromLink=function(e,t,r){var i=e.lastRequestId=this.generateRequestId(),a=this.cache.transformForLink(r.query);return(0,s.xb)(this.getObservableFromLink(a,r.context,r.variables),function(l){var o=(0,s.Mu)(l),f=o.length>0,c=r.errorPolicy;if(i>
1=e.lastRequestId){if(f&&c==="none")throw e.markError(new P.K4({graphQLErrors:o}));e.markResult(l,a,r,t),e.markReady()}var u={data:l.data,loading:!1,networkStatus:D.pT.ready};return f&&c==="none"&&(u.data=void 0),f&&c!=="ignore"&&(u.errors=o,u.networkStatus=D.pT.error),u},function(l){var o=(0,P.Mn)(l)?l:new P.K4({networkError:l});throw i>=e.lastRequestId&&e.markError(o),o})},n.prototype.fetchConcastWithInfo=function(e,t,r,i){var a=this;r===void 0&&(r=D.pT.loading),i===void 0&&(i=t.query);var l=this.getVariables(i,t.variables),o=this.defaultOptions.watchQuery,f=t.fetchPolicy,c=f===void 0?o&&o.fetchPolicy||"cache-first":f,u=t.errorPolicy,d=u===void 0?o&&o.errorPolicy||"none":u,p=t.returnPartialData,g=p===void 0?!1:p,m=t.notifyOnNetworkStatusChange,h=m===void 0?!1:m,E=t.context,b=E===void 0?{}:E,Q=Object.assign({},t,{query:i,variables:l,fetchPolicy:c,errorPolicy:d,returnPartialData:g,notifyOnNetworkStatusChange:h,context:b}),R=function(F){Q.variables=F;var K=a.fetchQueryByPolicy(e,Q,r);return Q.fetchPolicy!=="standby"&&K.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),K},M=function(){return a.fetchCancelFns.delete(e.queryId)};this.fetchCancelFns.set(e.queryId,function(F){M(),setTimeout(function(){return _.cancel(F)})});var _,I;if(this.getDocumentInfo(Q.query).hasClientExports)_=new s.En(this.localState.addExportedVariables(Q.query,Q.variables,Q.context).then(R).then(function(F){return F.sources})),I=!0;else{var N=R(Q.variables);I=N.fromLink,_=new s.En(N.sources)}return _.promise.then(M,M),{concast:_,fromLink:I}},n.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,i=e.include,a=e.optimistic,l=a===void 0?!1:a,o=e.removeOptimistic,f=o===void 0?l?(0,s.vL)("refetchQueries"):void 0:o,c=e.onQueryUpdated,u=new Map;i&&this.getObservableQueries(i).forEach(function(p,g){u.set(g,{oq:p,lastDiff:(t.queries.get(g)||p.queryInfo).getDiff()})});var d=new Map;return r&&this.cache.batch({update:r,optimistic:l&&f||!1,removeOptimistic:f,onWatchUpdated:function(p,g,m){var h=p.watcher instanceof B&&p.watcher.observableQuery;if(h){if(c){u.delete(h.queryId);var E=c(h,g,m);return E===!0&&(E=h.refetch()),E!==!1&&d.set(h,E),E}c!==null&&u.set(h.queryId,{oq:h,lastDiff:m,diff:g})}}}),u.size&&u.forEach(function(p,g){var m=p.oq,h=p.lastDiff,E=p.diff,b;c&&(E||(E=(0,k.lz)("canonizeResults",function(){return t.cache.diff(m.queryInfo.getDiffOptions())})),b=c(m,E,h)),(!c||b===!0)&&(b=m.refetch()),b!==!1&&d.set(m,b),g.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(g)}),f&&this.cache.removeOptimistic(f),d},n.prototype.maskOperation=function(e){var t,r,i,a=e.document,l=e.data;if(globalThis.__DEV__!==!1){var o=e.fetchPolicy,f=e.id,c=(t=(0,s.Vu)(a))===null||t===void 0?void 0:t.operation,u=((r=c?.[0])!==null&&r!==void 0?r:"o")+f;this.dataMasking&&o==="no-cache"&&!(0,s.s6)(a)&&!this.noCacheWarningsByQueryId.has(u)&&(this.noCacheWarningsByQueryId.add(u),globalThis.__DEV__!==!1&&L.V1.warn(45,(i=(0,s.n4)(a))!==null&&i!==void 0?i:"Unnamed ".concat(c??"operation")))}return this.dataMasking?(0,z.mB)(l,a,this.cache):l},n.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,i=e.fragmentName;return this.dataMasking?(0,z.zx)(t,r,this.cache,i):t},n.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,a=t.query,l=t.variables,o=t.fetchPolicy,f=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,d=t.context,p=t.notifyOnNetworkStatusChange,g=e.networkStatus;e.init({document:a,variables:l,networkStatus:r});var m=function(){return e.getDiff()},h=function(M,_){_===void 0&&(_=e.networkStatus||D.pT.loading);var I=M.result;globalThis.__DEV__!==!1&&!u&&!(0,C.L)(I,{})&&(0,T.y)(M.missing);var N=function(F){return s.cP.of((0,v.Cl)({data:F,loading:(0,D.bi)(_),networkStatus:_},M.complete?null:{partial:!0}))};return I&&i.getDocumentInfo(a).hasForcedResolvers?i.localState.runResolvers({document:a,remoteResult:{data:I},context:d,variables:l,onlyRunForcedResolvers:!0}).then(function(F){return N(F.data||void 0)}):c==="none"&&_===D.pT.refetch&&Array.isArray(M.missing)?N(void 0):N(I)},E=o==="no-cache"?0:r===D.pT.refetch&&f!=="merge"?1:2,b=function(){return i.getResultsFromLink(e,E,{query:a,variables:l,context:d,fetchPolicy:o,errorPolicy:c})},Q=p&&typeof g=="number"&&g!==r&&(0,D.bi)(r);switch(o){default:case"cache-first":{var R=m();return R.complete?{fromLink:!1,sources:[h(R,e.markReady())]}:u||Q?{fromLink:!0,sources:[h(R),b()]}:{fromLink:!0,sources:[b()]}}case"cache-and-network":{var R=m();return R.complete||u||Q?{fromLink:!0,sources:[h(R),b()]}:{fromLink:!0,sources:[b()]}}case"cache-only":return{fromLink:!1,sources:[h(m(),e.markReady())]};case"network-only":return Q?{fromLink:!0,sources:[h(m()),b()]}:{fromLink:!0,sources:[b()]};case"no-cache":return Q?{fromLink:!0,sources:[h(e.getDiff()),b()]}:{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},n.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new B(this,e)),this.queries.get(e)},n.prototype.prepareContext=function(e){e===void 0&&(e={});var t=this.localState.prepareContext(e);return(0,v.Cl)((0,v.Cl)((0,v.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},n}()},88599:function(X,U,y){y.d(U,{D2:function(){return C},bi:function(){return L},pT:function(){return v}});var v;(function(O){O[O.loading=1]="loading",O[O.setVariables=2]="setVariables",O[O.fetchMore=3]="fetchMore",O[O.refetch=4]="refetch",O[O.poll=6]="poll",O[O.ready=7]="ready",O[O.error=8]="error"})(v||(v={}));function L(O){return O?O<7:!1}function C(O){return O===7||O===8}}}]);
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.