PageSourceSearch

https://midislandvet.com/_next/static/chunks/6482-5f151dd1ce316ebe.js

js midislandvet.com collected 2026-10-09 21:45:08 UTC 40,170 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6482],{36482:(e,t,r)=>{r.d(t,{D9:()=>ep,bl:()=>N,MW:()=>s.MW});var i,n=r(20767),a=r(4902),o=r(53764),s=r(90034),c=r(98100),u=r(57038),f=r(2453),l=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:s.vd["cache.fragmentQueryDocuments"]||1e3,cache:c.l})}return e.prototype.batch=function(e){var t,r=this,i="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},i),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,a.Cl)((0,a.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,i=e.fragment,n=e.fragmentName,o=e.from,c=e.optimistic,u=(0,a.Tt)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(i,n),p=(0,a.Cl)((0,a.Cl)({},u),{returnPartialData:!0,id:void 0===o||"string"==typeof o?o:this.identify(o),query:l,optimistic:void 0===c||c});return new s.cP(function(e){return r.watch((0,a.Cl)((0,a.Cl)({},p),{immediate:!0,callback:function(r){if(!(t&&(0,f.a)(l,{data:null==t?void 0:t.result},{data:r.result}))){var i={data:r.result,complete:!!r.complete};r.missing&&(i.missing=(0,s.IM)(r.missing.map(function(e){return e.missing}))),t=r,e.next(i)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,a.Cl)((0,a.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,a.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,n=e.fragmentName,o=(0,a.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,n),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),n=t(i);return null==n?i:(r.writeQuery((0,a.Cl)((0,a.Cl)({},e),{data:n})),n)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),n=t(i);return null==n?i:(r.writeFragment((0,a.Cl)((0,a.Cl)({},e),{data:n})),n)}})},e}();!1!==globalThis.__DEV__&&(l.prototype.getMemoryInternals=u.tQ),i||(i={});var p=function(e){function t(r,i,n,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=i,s.query=n,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,a.C6)(t,e),t}(Error),d=r(20996),h=r(39668),y=Object.prototype.hasOwnProperty;function m(e){return null==e}function g(e,t){var r=e.__typename,i=e.id,n=e._id;if("string"==typeof r&&(t&&(t.keyObject=m(i)?m(n)?void 0:{_id:n}:{id:i}),m(i)&&!m(n)&&(i=n),!m(i)))return"".concat(r,":").concat("number"==typeof i||"string"==typeof i?i:JSON.stringify(i))}var v={dataIdFromObject:g,addTypename:!0,resultCaching:!0,canonizeResults:!1};function _(e){var t=e.canonizeResults;return void 0===t?v.canonizeResults:t}var b=/^[_a-z][_0-9a-z]*/i;function S(e){var t=e.match(b);return t?t[0]:e}function O(e){return(0,s.UU)(e)&&!(0,s.A_)(e)&&!(0,s.cy)(e)}function T(e,t){var r=(0,s.JG)((0,s.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var i=r[e];return!i&&t&&(i=t.lookup(e)),i||null}}}var C=Object.create(null),k=function(){return C},w=Object.create(null),j=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,s.GH)((0,s.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,s.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,s.WU)(e);if((0,s.A_)(e))return e;var i=r.policies.identify(e)[0];if(i){var n=(0,s.WU)(i);return t&&r.merge(i,e),n}}}return e.prototype.toObject=function(){return(0,a.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),y.call(this.data,e)){var r=this.data[e];if(r&&y.call(r,t))return r[t]}return"__typename"===t&&y.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof F?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),y.call(this.data,e))?this.data[e]:this instanceof F?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,i=this;(0,s.A_)(e)&&(e=e.__ref),(0,s.A_)(t)&&(t=t.__ref);
1var a="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,n.V1)("string"==typeof r,1);var c=new s.ZI(I).merge(a,o);if(this.data[r]=c,c!==a&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);a||(u.__exists=1),Object.keys(o).forEach(function(e){if(!a||a[e]!==c[e]){u[e]=1;var t=S(e);t===e||i.policies.hasKeyArgs(c.__typename,t)||(u[t]=1),void 0!==c[e]||i instanceof F||delete c[e]}}),u.__typename&&!(a&&a.__typename)&&this.policies.rootTypenamesById[r]===c.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return i.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),c=!1,u=!0,f={DELETE:C,INVALIDATE:w,isReference:s.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,i){return r.policies.readField("string"==typeof t?{fieldName:t,from:i||(0,s.WU)(e)}:t,{store:r})}};if(Object.keys(i).forEach(function(l){var p=S(l),d=i[l];if(void 0!==d){var h="function"==typeof t?t:t[l]||t[p];if(h){var y=h===k?C:h((0,s.GH)(d),(0,a.Cl)((0,a.Cl)({},f),{fieldName:p,storeFieldName:l,storage:r.getStorage(e,l)}));if(y===w)r.group.dirty(e,l);else if(y===C&&(y=void 0),y!==d&&(o[l]=y,c=!0,d=y,!1!==globalThis.__DEV__)){var m=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&n.V1.warn(2,e),!0};if((0,s.A_)(y))m(y);else if(Array.isArray(y))for(var g=!1,v=void 0,_=0,b=y;_<b.length;_++){var O=b[_];if((0,s.A_)(O)){if(g=!0,m(O))break}else"object"==typeof O&&O&&r.policies.identify(O)[0]&&(v=O);if(g&&void 0!==v){!1!==globalThis.__DEV__&&n.V1.warn(3,v);break}}}}void 0!==d&&(u=!1)}}),c)return this.merge(e,o),u&&(this instanceof F?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 i,n=this.lookup(e);if(n){var a=this.getFieldValue(n,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((i={})[o]=k,i):k)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(y.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof F&&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){y.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&&y.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,a.Tt)(e,["__META"]);
1Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof F?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(i){y.call(r,i)&&(Object.keys(e.findChildRefIds(i)).forEach(t.add,t),delete r[i])});var i=Object.keys(r);if(i.length){for(var n=this;n instanceof F;)n=n.parent;i.forEach(function(e){return n.delete(e)})}return i},e.prototype.findChildRefIds=function(e){if(!y.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var i=new Set([r]);i.forEach(function(e){(0,s.A_)(e)&&(t[e.__ref]=!0),(0,s.UU)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,s.UU)(r)&&i.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),E=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new h.b(s.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=S(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 R(e,t){x(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,i=t.resultCaching,n=t.seed,a=e.call(this,r,new E(void 0===i||i))||this;return a.stump=new A(a),a.storageTrie=new h.b(s.et),n&&a.replace(n),a}return(0,a.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(j||(j={}));var F=function(e){function t(t,r,i,n){var a=e.call(this,r.policies,n)||this;return a.id=t,a.parent=r,a.replay=i,a.group=n,i(a),a}return(0,a.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var i=t.data[e],n=r.lookup(e);
1n?i?i!==n&&Object.keys(i).forEach(function(r){(0,d.L)(i[r],n[r])||t.group.dirty(e,r)}):(t.group.dirty(e,"__exists"),Object.keys(n).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,a.Cl)((0,a.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return y.call(this.data,t)?(0,a.Cl)((0,a.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(j),A=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new E(t.group.caching,t.group))||this}return(0,a.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(F);function I(e,t,r){var i=e[r],n=t[r];return(0,d.L)(i,n)?i:n}function x(e){return!!(e instanceof j&&e.group.caching)}var M=r(35852),D=function(){function e(){this.known=new(s.l2?WeakSet:Set),this.pool=new h.b(s.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.UU)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.UU)(e)){var t=(0,s.UU)(e)?(0,s.cy)(e)?e.slice(0):(0,a.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.UU)(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 i=e.map(this.admit,this),n=this.pool.lookupArray(i);return n.array||(this.known.add(n.array=i),!1!==globalThis.__DEV__&&Object.freeze(i)),n.array;case null:case Object.prototype:if(this.known.has(e))break;var a=Object.getPrototypeOf(e),o=[a],c=this.sortedKeys(e);o.push(c.json);var u=o.length;c.sorted.forEach(function(r){o.push(t.admit(e[r]))});var n=this.pool.lookupArray(o);if(!n.object){var f=n.object=Object.create(a);this.known.add(f),c.sorted.forEach(function(e,t){f[e]=o[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(f)}return n.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var i=JSON.stringify(t);(r.keys=this.keysByJSON.get(i))||this.keysByJSON.set(i,r.keys={sorted:t,json:i})}return r.keys},e}();function V(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var z=function(){function e(e){var t=this;this.knownResults=new(s.et?WeakMap:Map),this.config=(0,s.oE)(e,{addTypename:!1!==e.addTypename,canonizeResults:_(e)}),this.canon=e.canon||new D,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,n=V(e);n[3]=!i;var o=(r=t.executeSelectionSet).peek.apply(r,n);return o?i?(0,a.Cl)((0,a.Cl)({},o),{result:t.canon.admit(o.result)}):o:(R(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||s.vd["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:V,makeCacheKey:function(e,t,r,i){if(x(r.store))return r.store.makeCacheKey(e,(0,s.A_)(t)?t.__ref:t,r.varString,i)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return R(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||s.vd["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,i=e.context;if(x(i.store))return i.store.makeCacheKey(t,r,i.varString)}})}return e.prototype.resetCanon=function(){this.canon=new D},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,n=e.rootId,o=e.variables,c=e.returnPartialData,u=e.canonizeResults,f=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;o=(0,a.Cl)((0,a.Cl)({},(0,s.wY)((0,s.AT)(i))),o);var d=(0,s.WU)(void 0===n?"ROOT_QUERY":n),h=this.executeSelectionSet({selectionSet:(0,s.Vn)(i).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,a.Cl)({store:r,query:i,policies:l,variables:o,varString:(0,s.MW)(o),canonizeResults:f},T(i,this.config.fragments))});if(h.missing&&(t=[new p(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,i,o)],!(void 0===c||c)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,i){if(x(i.store)&&this.knownResults.get(e)===r){var n=this.executeSelectionSet.peek(r,t,i,this.canon.isKnown(e));if(n&&e===n.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,i=e.selectionSet,a=e.objectOrReference,o=e.enclosingRef,c=e.context;if((0,s.A_)(a)&&!c.policies.rootTypenamesById[a.__ref]&&!c.store.has(a.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(a.__ref," object")};var u=c.variables,f=c.policies,l=c.store.getFieldValue(a,"__typename"),p=[],d=new s.ZI;function h(e,r){var i;return e.missing&&(t=d.merge(t,((i={})[r]=e.missing,i))),e.result}this.config.addTypename&&"string"==typeof l&&!f.rootIdsByTypename[l]&&p.push({__typename:l});var y=new Set(i.selections);
1y.forEach(function(e){var i,m;if((0,s.MS)(e,u))if((0,s.dt)(e)){var g=f.readField({fieldName:e.name.value,field:e,variables:c.variables,from:a},c),v=(0,s.ue)(e);void 0===g?s.XY.added(e)||(t=d.merge(t,((i={})[v]="Can't find field '".concat(e.name.value,"' on ").concat((0,s.A_)(a)?a.__ref+" object":"object "+JSON.stringify(a,null,2)),i))):(0,s.cy)(g)?g.length>0&&(g=h(r.executeSubSelectedArray({field:e,array:g,enclosingRef:o,context:c}),v)):e.selectionSet?null!=g&&(g=h(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:g,enclosingRef:(0,s.A_)(g)?g:o,context:c}),v)):c.canonizeResults&&(g=r.canon.pass(g)),void 0!==g&&p.push(((m={})[v]=g,m))}else{var _=(0,s.HQ)(e,c.lookupFragment);if(!_&&e.kind===M.b.FRAGMENT_SPREAD)throw(0,n.vA)(9,e.name.value);_&&f.fragmentMatches(_,l)&&_.selectionSet.selections.forEach(y.add,y)}});var m={result:(0,s.IM)(p),missing:t},g=c.canonizeResults?this.canon.admit(m):(0,s.GH)(m);return g.result&&this.knownResults.set(g.result,i),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,i=e.field,a=e.array,o=e.enclosingRef,c=e.context,u=new s.ZI;function f(e,r){var i;return e.missing&&(t=u.merge(t,((i={})[r]=e.missing,i))),e.result}return i.selectionSet&&(a=a.filter(c.store.canRead)),a=a.map(function(e,t){return null===e?null:(0,s.cy)(e)?f(r.executeSubSelectedArray({field:i,array:e,enclosingRef:o,context:c}),t):i.selectionSet?f(r.executeSelectionSet({selectionSet:i.selectionSet,objectOrReference:e,enclosingRef:(0,s.A_)(e)?e:o,context:c}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var i=new Set([r]);i.forEach(function(r){(0,s.UU)(r)&&((0,n.V1)(!(0,s.A_)(r),10,(0,s.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(i.add,i))})}}(c.store,i,e),e)}),{result:c.canonizeResults?this.canon.admit(a):a,missing:t}},e}(),N=new o.DX,W=new WeakMap;function U(e){var t=W.get(e);return t||W.set(e,t={vars:new Set,dep:(0,o.yN)()}),t}function P(e){U(e).vars.forEach(function(t){return t.forgetCache(e)})}function B(e){var t=new Set,r=new Set,i=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(function(e){var t;U(e).dep.dirty(i),(t=e).broadcastWatches&&t.broadcastWatches()});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var s=N.getValue();s&&(n(s),U(s).dep(i))}return e};i.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var n=i.attachCache=function(e){return t.add(e),U(e).vars.add(i),i};return i.forgetCache=function(e){return t.delete(e)},i}var L=Object.create(null);function Q(e){var t=JSON.stringify(e);return L[t]||(L[t]=Object.create(null))}function K(e){var t=Q(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var i=function(e,t){return r.readField(t,e)},a=r.keyObject=J(e,function(e){var a=G(r.storeObject,e,i);return void 0===a&&t!==r.storeObject&&y.call(t,e[0])&&(a=G(t,e,q)),(0,n.V1)(void 0!==a,4,e.join("."),t),a});return"".concat(r.typename,":").concat(JSON.stringify(a))})}function Y(e){var t=Q(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var i=r.field,n=r.variables,a=r.fieldName,o=JSON.stringify(J(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(i&&(0,s.EI)(i.directives)){var o=r.slice(1),c=i.directives.find(function(e){return e.name.value===o}),u=c&&(0,s.MB)(c,n);return u&&G(u,e.slice(1))}return}if("$"===a){var f=r.slice(1);if(n&&y.call(n,f)){var l=e.slice(0);return l[0]=f,G(n,l)}return}if(t)return G(t,e)}));return(t||"{}"!==o)&&(a+=":"+o),a})}function J(e,t){var r=new s.ZI;return(function e(t){var r=Q(t);if(!r.paths){var i=r.paths=[],n=[];t.forEach(function(r,a){(0,s.cy)(r)?(e(r).forEach(function(e){return i.push(n.concat(e))}),n.length=0):(n.push(r),(0,s.cy)(t[a+1])||(i.push(n.slice(0)),n.length=0))})}return r.paths})(e).reduce(function(e,i){var n,a=t(i);if(void 0!==a){for(var o=i.length-1;o>=0;--o)(n={})[i[o]]=a,a=n;e=r.merge(e,a)}return e},Object.create(null))}function q(e,t){return e[t]}function G(e,t,r){return r=r||q,function e(t){return(0,s.UU)(t)?(0,s.cy)(t)?t.map(e):J(Object.keys(t).sort(),function(e){return G(t,e)}):t}(t.reduce(function e(t,i){return(0,s.cy)(t)?t.map(function(t){return e(t,i)}):t&&r(t,i)},e))}
1function H(e){return void 0!==e.args?e.args:e.field?(0,s.MB)(e.field,e.variables):null}var Z=function(){},X=function(e,t){return t.fieldName},$=function(e,t,r){return(0,r.mergeObjects)(e,t)},ee=function(e,t){return t},et=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,a.Cl)({dataIdFromObject:g},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,n=this,o=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var c=t&&t.storeObject||e,u=(0,a.Cl)((0,a.Cl)({},t),{typename:o,storeObject:c,readField:t&&t.readField||function(){var e=ei(arguments,c);return n.readField(e,{store:n.cache.data,variables:e.variables})}}),f=o&&this.getTypePolicy(o),l=f&&f.keyFn||this.config.dataIdFromObject;l;){var p=l((0,a.Cl)((0,a.Cl)({},e),c),u);if((0,s.cy)(p))l=K(p);else{i=p;break}}return i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],n=i.queryType,o=i.mutationType,s=i.subscriptionType,c=(0,a.Tt)(i,["queryType","mutationType","subscriptionType"]);n&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),y.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t){var r=this,i=this.getTypePolicy(e),n=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?$:!1===t?ee:e.merge}o(i,t.merge),i.keyFn=!1===n?Z:(0,s.cy)(n)?K(n):"function"==typeof n?n:i.keyFn,a&&Object.keys(a).forEach(function(t){var i=r.getFieldPolicy(e,t,!0),n=a[t];if("function"==typeof n)i.read=n;else{var c=n.keyArgs,u=n.read,f=n.merge;i.keyFn=!1===c?X:(0,s.cy)(c)?Y(c):"function"==typeof c?c:i.keyFn,"function"==typeof u&&(i.read=u),o(i,f)}i.read&&i.merge&&(i.keyFn=i.keyFn||X)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),i=this.rootTypenamesById[r];t!==i&&((0,n.V1)(!i||i===e,5,e),i&&delete this.rootIdsByTypename[i],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 i=e.match(b);i&&i[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!y.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var a=t.supertypeMap.get(n);a&&a.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),n=i.fields;Object.assign(r,(0,a.Tt)(i,["fields"])),Object.assign(r.fields,n)})}var n=this.toBeAdded[e];return n&&n.length&&n.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var i=this.getTypePolicy(e).fields;return i[t]||r&&(i[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,i){var a=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var c=this.getSupertypeSet(t,!0),u=[c],f=function(e){var t=a.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},l=!!(r&&this.fuzzySubtypes.size),p=!1,d=0;d<u.length;++d){var h=u[d];
1if(h.has(o))return c.has(o)||(p&&!1!==globalThis.__DEV__&&n.V1.warn(6,t,o),c.add(o)),!0;h.forEach(f),l&&d===u.length-1&&function e(t,r,i){return!!(0,s.UU)(r)&&((0,s.cy)(r)?r.every(function(r){return e(t,r,i)}):t.selections.every(function(t){if((0,s.dt)(t)&&(0,s.MS)(t,i)){var n=(0,s.ue)(t);return y.call(r,n)&&(!t.selectionSet||e(t.selectionSet,r[n],i))}return!0}))}(e.selectionSet,r,i)&&(l=!1,p=!0,this.fuzzySubtypes.forEach(function(e,r){var i=t.match(e);i&&i[0]===t&&f(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,i=e.fieldName,n=this.getFieldPolicy(r,i,!1),a=n&&n.keyFn;if(a&&r)for(var o={typename:r,fieldName:i,field:e.field||null,variables:e.variables},c=H(e);a;){var u=a(c,o);if((0,s.cy)(u))a=Y(u);else{t=u||i;break}}return(void 0===t&&(t=e.field?(0,s.Ii)(e.field,e.variables):(0,s.o5)(i,H(e))),!1===t)?i:i===S(t)?t:i+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var i=t.store.getFieldValue(r,"__typename");i&&(e.typename=i)}var n=this.getStoreFieldName(e),a=S(n),o=t.store.getFieldValue(r,n),c=this.getFieldPolicy(e.typename,a,!1),u=c&&c.read;if(u){var f=er(this,r,e,t,t.store.getStorage((0,s.A_)(r)?r.__ref:r,n));return N.withValue(this.cache,u,[o,f])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var i=this.getFieldPolicy(e,t,!1),n=i&&i.merge;return!n&&r&&(n=(i=this.getTypePolicy(r))&&i.merge),n},e.prototype.runMergeFunction=function(e,t,r,i,n){var a=r.field,o=r.typename,s=r.merge;return s===$?en(i.store)(e,t):s===ee?t:(i.overwrite&&(e=void 0),s(e,t,er(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:i.variables},i,n||Object.create(null))))},e}();function er(e,t,r,i,n){var a=e.getStoreFieldName(r),o=S(a),c=r.variables||i.variables,u=i.store,f=u.toReference,l=u.canRead;return{args:H(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:c,isReference:s.A_,toReference:f,storage:n,cache:e.cache,canRead:l,readField:function(){return e.readField(ei(arguments,t,c),i)},mergeObjects:en(i.store)}}function ei(e,t,r){var i,o=e[0],c=e[1],u=e.length;return"string"==typeof o?i={fieldName:o,from:u>1?c:t}:(i=(0,a.Cl)({},o),y.call(i,"from")||(i.from=t)),!1!==globalThis.__DEV__&&void 0===i.from&&!1!==globalThis.__DEV__&&n.V1.warn(7,(0,s.pk)(Array.from(e))),void 0===i.variables&&(i.variables=r),i}function en(e){return function(t,r){if((0,s.cy)(t)||(0,s.cy)(r))throw(0,n.vA)(8);if((0,s.UU)(t)&&(0,s.UU)(r)){var i=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(i&&o&&i!==o)return r;if((0,s.A_)(t)&&O(r))return e.merge(t.__ref,r),t;if(O(t)&&(0,s.A_)(r))return e.merge(t,r.__ref),r;if(O(t)&&O(r))return(0,a.Cl)((0,a.Cl)({},t),r)}return r}}function ea(e,t,r){var i="".concat(t).concat(r),n=e.flavors.get(i);return n||e.flavors.set(i,n=e.clientOnly===t&&e.deferred===r?e:(0,a.Cl)((0,a.Cl)({},e),{clientOnly:t,deferred:r})),n}var eo=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,i=t.query,o=t.result,c=t.dataId,u=t.variables,f=t.overwrite,l=(0,s.Vu)(i),p=new s.ZI;u=(0,a.Cl)((0,a.Cl)({},(0,s.wY)(l)),u);var h=(0,a.Cl)((0,a.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)},variables:u,varString:(0,s.MW)(u)},T(i,this.fragments)),{overwrite:!!f,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:o||Object.create(null),dataId:c,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,s.A_)(y))throw(0,n.vA)(11,o);return h.incomingById.forEach(function(t,i){var o=t.storeObject,c=t.mergeTree,u=t.fieldNodeSet,f=(0,s.WU)(i);if(c&&c.map.size){var l=r.applyMerges(c,f,o,h);if((0,s.A_)(l))return;o=l}if(!1!==globalThis.__DEV__&&!h.overwrite){var p=Object.create(null);u.forEach(function(e){e.selectionSet&&(p[e.name.value]=!0)});var y=function(e){var t=c&&c.map.get(e);return!!(t&&t.info&&t.info.merge)};
1Object.keys(o).forEach(function(e){!0!==p[S(e)]||y(e)||function(e,t,r,i){var o=function(e){var t=i.getFieldValue(e,r);return"object"==typeof t&&t},c=o(e);if(c){var u=o(t);if(!(!u||(0,s.A_)(c)||(0,d.L)(c,u)||Object.keys(c).every(function(e){return void 0!==i.getFieldValue(u,e)}))){var f=i.getFieldValue(e,"__typename")||i.getFieldValue(t,"__typename"),l=S(r),p="".concat(f,".").concat(l);if(!el.has(p)){el.add(p);var h=[];(0,s.cy)(c)||(0,s.cy)(u)||[c,u].forEach(function(e){var t=i.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&n.V1.warn(14,l,f,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",p,(0,a.Cl)({},c),(0,a.Cl)({},u))}}}}(f,o,e,h.store)})}e.merge(i,o)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,i=e.result,o=e.selectionSet,c=e.context,u=e.mergeTree,f=this.cache.policies,l=Object.create(null),p=r&&f.rootTypenamesById[r]||(0,s.D$)(i,o,c.fragmentMap)||r&&c.store.get(r,"__typename");"string"==typeof p&&(l.__typename=p);var d=function(){var e=ei(arguments,l,c.variables);if((0,s.A_)(e.from)){var t=c.incomingById.get(e.from.__ref);if(t){var r=f.readField((0,a.Cl)((0,a.Cl)({},e),{from:t.storeObject}),c);if(void 0!==r)return r}}return f.readField(e,c)},h=new Set;this.flattenFields(o,i,c,p).forEach(function(e,r){var a,o=i[(0,s.ue)(r)];if(h.add(r),void 0!==o){var c=f.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),y=ec(u,c),m=t.processFieldValue(o,r,r.selectionSet?ea(e,!1,!1):e,y),g=void 0;r.selectionSet&&((0,s.A_)(m)||O(m))&&(g=d("__typename",m));var v=f.getMergeFunction(p,r.name.value,g);v?y.info={field:r,typename:p,merge:v}:ef(u,c),l=e.merge(l,((a={})[c]=m,a))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||s.XY.added(r)||f.getReadFunction(p,r.name.value)||!1===globalThis.__DEV__||n.V1.error(12,(0,s.ue)(r),i)});try{var y=f.identify(i,{typename:p,selectionSet:o,fragmentMap:c.fragmentMap,storeObject:l,readField:d}),m=y[0],g=y[1];r=r||m,g&&(l=c.merge(l,g))}catch(e){if(!r)throw e}if("string"==typeof r){var v=(0,s.WU)(r),_=c.written[r]||(c.written[r]=[]);if(_.indexOf(o)>=0||(_.push(o),this.reader&&this.reader.isFresh(i,v,o,c)))return v;var b=c.incomingById.get(r);return b?(b.storeObject=c.merge(b.storeObject,l),b.mergeTree=function e(t,r){if(t===r||!r||eu(r))return t;if(!t||eu(t))return r;var i=t.info&&r.info?(0,a.Cl)((0,a.Cl)({},t.info),r.info):t.info||r.info,n=t.map.size&&r.map.size,o={info:i,map:n?new Map:t.map.size?t.map:r.map};if(n){var s=new Set(r.map.keys());t.map.forEach(function(t,i){o.map.set(i,e(t,r.map.get(i))),s.delete(i)}),s.forEach(function(i){o.map.set(i,e(r.map.get(i),t.map.get(i)))})}return o}(b.mergeTree,u),h.forEach(function(e){return b.fieldNodeSet.add(e)})):c.incomingById.set(r,{storeObject:l,mergeTree:eu(u)?void 0:u,fieldNodeSet:h}),v}return l},e.prototype.processFieldValue=function(e,t,r,i){var n=this;return t.selectionSet&&null!==e?(0,s.cy)(e)?e.map(function(e,a){var o=n.processFieldValue(e,t,r,ec(i,a));return ef(i,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:i}):!1!==globalThis.__DEV__?(0,s.mg)(e):e},e.prototype.flattenFields=function(e,t,r,i){void 0===i&&(i=(0,s.D$)(t,e,r.fragmentMap));var a=new Map,o=this.cache.policies,c=new h.b(!1);return!function e(u,f){var l=c.lookup(u,f.clientOnly,f.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(c){if((0,s.MS)(c,r.variables)){var u=f.clientOnly,l=f.deferred;if(!(u&&l)&&(0,s.EI)(c.directives)&&c.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var i=(0,s.MB)(e,r.variables);i&&!1===i.if||(l=!0)}}),(0,s.dt)(c)){var p=a.get(c);p&&(u=u&&p.clientOnly,l=l&&p.deferred),a.set(c,ea(r,u,l))}else{var d=(0,s.HQ)(c,r.lookupFragment);if(!d&&c.kind===M.b.FRAGMENT_SPREAD)throw(0,n.vA)(13,c.name.value);d&&o.fragmentMatches(d,i,t,r.variables)&&e(d.selectionSet,ea(r,u,l))}}}))}(e,r),a},e.prototype.applyMerges=function(e,t,r,i,o){var c=this;if(e.map.size&&!(0,s.A_)(r)){var u,f,l=!(0,s.cy)(r)&&((0,s.A_)(t)||O(t))?t:void 0,p=r;l&&!o&&(o=[(0,s.A_)(l)?l.__ref:l]);var d=function(e,t){return(0,s.cy)(e)?"number"==typeof t?e[t]:void 0:i.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=d(l,t),a=d(p,t);if(void 0!==a){o&&o.push(t);var s=c.applyMerges(e,r,a,i,o);s!==a&&(f=f||new Map).set(t,s),o&&(0,n.V1)(o.pop()===t)}}),f&&(r=(0,s.cy)(p)?p.slice(0):(0,a.Cl)({},p),f.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,i,o&&(u=i.store).getStorage.apply(u,o)):r},e}(),es=[];function ec(e,t){var r=e.map;return r.has(t)||r.set(t,es.pop()||{map:new Map}),r.get(t)}function eu(e){return!e||!(e.info||e.map.size)}function ef(e,t){var r=e.map,i=r.get(t);i&&eu(i)&&(es.push(i),r.delete(t))}var el=new Set,ep=function(e){function t(t){void 0===t&&(t={});var r,i=e.call(this)||this;return i.watches=new Set,i.addTypenameTransform=new s.c1(s.XY),i.assumeImmutableResults=!0,i.makeVar=B,i.txCount=0,r=t,i.config=(0,s.oE)(v,r),i.addTypename=!!i.config.addTypename,i.policies=new et({cache:i,dataIdFromObject:i.config.dataIdFromObject,possibleTypes:i.config.possibleTypes,typePolicies:i.config.typePolicies}),i.init(),i}return(0,a.C6)(t,e),t.prototype.init=function(){var e=this.data=new j.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,i=this.config.fragments;this.storeWriter=new eo(this,this.storeReader=new z({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:_(this.config),canon:e?void 0:r&&r.canon,fragments:i}),i),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||s.vd["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(x(r)){var i=e.optimistic,n=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,s.MW)({optimistic:i,id:n,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){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,a.Cl)((0,a.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof p)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(y.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,a.Cl)((0,a.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t,r=this;return this.watches.size||(t=this,U(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&&P(r),r.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){s.MW.reset(),s.yy.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,s.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&n.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(y.call(e,"id"))return!1;e=(0,a.Cl)((0,a.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),s.MW.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),P(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,n=e.optimistic,o=void 0===n||n,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=a}},f=new Set;return c&&!this.txCount&&this.broadcastWatches((0,a.Cl)((0,a.Cl)({},e),{onWatchUpdated:function(e){return f.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,u):!1===o?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&f.size?(this.broadcastWatches((0,a.Cl)((0,a.Cl)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&f.delete(e),r}})),f.size&&f.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,i=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(i.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,i,r)))&&(r&&(0,d.L)(r.result,i.result)||e.callback(e.lastDiff=i,r))},t}(l);!1!==globalThis.__DEV__&&(ep.prototype.getMemoryInternals=u.cM);var ed=r(74209);!function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.registry=Object.create(null),this.resetCaches(),e.length&&this.register.apply(this,e)}e.prototype.register=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=new Map;return t.forEach(function(e){(0,s.zK)(e).forEach(function(e){i.set(e.name.value,e)})}
1),i.forEach(function(t,r){t!==e.registry[r]&&(e.registry[r]=t,e.invalidate(r))}),this},e.prototype.invalidate=function(e){},e.prototype.resetCaches=function(){var t=e.prototype;this.invalidate=(this.lookup=(0,o.LV)(t.lookup.bind(this),{makeCacheKey:function(e){return e},max:s.vd["fragmentRegistry.lookup"]||1e3})).dirty,this.transform=(0,o.LV)(t.transform.bind(this),{cache:c.l,max:s.vd["fragmentRegistry.transform"]||2e3}),this.findFragmentSpreads=(0,o.LV)(t.findFragmentSpreads.bind(this),{cache:c.l,max:s.vd["fragmentRegistry.findFragmentSpreads"]||4e3})},e.prototype.lookup=function(e){return this.registry[e]||null},e.prototype.transform=function(e){var t=this,r=new Map;(0,s.zK)(e).forEach(function(e){r.set(e.name.value,e)});var i=new Set,n=function(e){r.has(e)||i.add(e)},o=function(e){return Object.keys(t.findFragmentSpreads(e)).forEach(n)};o(e);var c=[],u=Object.create(null);if(i.forEach(function(e){var i=r.get(e);if(i)o(u[e]=i);else{c.push(e);var n=t.lookup(e);n&&o(u[e]=n)}}),c.length){var f=[];c.forEach(function(e){var t=u[e];t&&f.push(t)}),f.length&&(e=(0,a.Cl)((0,a.Cl)({},e),{definitions:e.definitions.concat(f)}))}return e},e.prototype.findFragmentSpreads=function(e){var t=Object.create(null);return(0,ed.Y)(e,{FragmentSpread:function(e){t[e.name.value]=e}}),t}}(),r(88675)},88675:()=>{}}]);

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.