1import{j as c}from"./jsx-runtime-eQVXvh4J.js";import{a as r}from"./index-Bd5AmG6J.js";import{i as l}from"./tiny-invariant-oXDUZBzk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"felleskjopet-web@dc4990d87603059a7b50dc16680f9a3de15016d6"}}catch{}})();(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(t){for(var n=1;n<arguments.length;n++){var a=arguments[n];if(a!=null)for(var o in a)a.hasOwnProperty(o)&&(t[o]=a[o])}return t})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:felleskjopet-web":!0})}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="f1365f63-b0a7-438c-a342-de98c1d05198",e._sentryDebugIdIdentifier="sentry-dbid-f1365f63-b0a7-438c-a342-de98c1d05198")})()}catch{}class f{get(){}set(){}}class b{constructor(t){this.itemCapacity=t,l(t>0)}itemCapacity;cache={};get(t){const n=this.cache[t];if(n)return n.value}set(t,n){const a=Object.entries(this.cache);if(a.length>=this.itemCapacity&&!this.cache[t]){const o=a.sort((i,d)=>i[1].createdAt-d[1].createdAt)[0];delete this.cache[o[0]]}this.cache[t]={value:n,createdAt:Date.now()}}}const u=new f,s=r.createContext(u),g=({clientCache:e,children:t})=>c.jsx(s.Provider,{value:e,children:t}),w=()=>r.useContext(s);export{b as C,g as a,w as u}; 2//# sourceMappingURL=ClientCacheContext-VoziEMps.js.map
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.