https://static.varus.ua/azgwc-blob-static-varus-prod-01/vsf/dist/0923-v6cf1fb81/critical-1396b014.js
1"use strict";(self.webpackChunkvue_storefront=self.webpackChunkvue_storefront||[]).push([[4437],{9752:function(w,T,s){s.d(T,{mo:function(){return E},yH:function(){return R}});function c(){function p(){return Math.floor((1+Math.random())*65536).toString(16).substring(1)}return p()+p()+"-"+p()+"-"+p()+"-"+p()+"-"+p()+p()+p()}function E(){return new Date().getTime()+"-"+c()}function R(...p){return p.join("$$")}},29954:function(w,T,s){s.d(T,{p:function(){return $}});var c=s(37826);const E=1e3,R=100,p=3e4,$={_registeredRoutes:new Array,_routeQueue:new Array,_routeQueueFlushed:!1,_routeLock:null,_routeLockTimer:null,_routeDispatched:!1,_callbacks:[],addRoutes:function(o,n=!1,u=0){if(n&&!this._routeQueueFlushed){if(this._routeQueue.length+o.length>E){console.warn(`[RouterManager] Route queue limit exceeded. Removing oldest routes. Current: ${this._routeQueue.length}, Adding: ${o.length}`);const l=this._routeQueue.length+o.length-E;this._routeQueue.splice(0,l)}this._routeQueue.push(...o.map(l=>({route:l,priority:u})))}else{const l=o.filter(C=>{const O=this._registeredRoutes.findIndex(I=>I.route.name===C.name&&I.route.path===C.path)<0,F=this._routeQueue.findIndex(I=>I.route.name===C.name&&I.route.path===C.path)<0;return O&&F});if(l.length>0){if(this._registeredRoutes.length+l.length>E){console.warn(`[RouterManager] Registered routes limit exceeded. Removing oldest routes. Current: ${this._registeredRoutes.length}, Adding: ${l.length}`);const C=this._registeredRoutes.length+l.length-E;this._registeredRoutes.splice(0,C)}this._registeredRoutes.push(...l.map(C=>({route:C,priority:u}))),l.forEach(C=>c.nR.addRoute(C))}}},flushRouteQueue:function(){this._routeQueueFlushed||(this.addRoutesByPriority(this._routeQueue),this._routeQueueFlushed=!0,this._routeQueue=[])},addRoutesByPriority:function(o){const n=[];for(const u of o){let l=n.findIndex(C=>C.route.name===u.route.name&&C.route.path===u.route.path);l>=0&&n[l].priority<u.priority&&(n.splice(l,1),l=-1),l<0&&n.push(u)}this._registeredRoutes.push(...n),n.forEach(u=>c.nR.addRoute(u.route))},isRouteAdded:function(o,n){return o.findIndex(u=>u.route.name===n.name&&u.route.path===n.path)>=0},addDispatchCallback:function(o){this._callbacks.length>=R&&(console.warn(`[RouterManager] Callbacks limit exceeded (${R}). Removing oldest callback.`),this._callbacks.shift()),this._callbacks.push(o)},removeDispatchCallback:function(o){const n=this._callbacks.indexOf(o);n>-1&&this._callbacks.splice(n,1)},clearDispatchCallbacks:function(){this._callbacks=[]},findByName:function(o){return this.findByProperty("name",o)},findByPath:function(o){return this.findByProperty("path",o)},findByProperty:function(o,n){const u=this._registeredRoutes.find(C=>C.route[o]===n);if(u)return u.route;if(this._routeQueueFlushed)return null;const l=this._routeQueue.find(C=>C.route[o]===n);return l?l.route:null},lockRoute:function(){this._routeLockTimer&&(clearTimeout(this._routeLockTimer),this._routeLockTimer=null);let o;this._routeLock={lockPromise:new Promise(n=>{o=n}),resolver:o},this._routeLockTimer=setTimeout(()=>{console.warn(`[RouterManager] Route lock timeout after ${p}ms. Forcing unlock.`),this.unlockRoute()},p)},isRouteProcessing:function(){return!!this._routeLock},isRouteDispatched:function(){return!!this._routeDispatched},getRouteLockPromise:function(){return this._routeLock?this._routeLock.lockPromise:Promise.resolve()},unlockRoute:function(){this._routeLockTimer&&(clearTimeout(this._routeLockTimer),this._routeLockTimer=null),this._routeLock&&(this._routeLock.resolver(),this._routeLock=null),this._routeDispatched=!0,this._callbacks.forEach(o=>{o()})},clearOldRoutes:function(o=100){if(this._registeredRoutes.length>o){const n=this._registeredRoutes.length-o,u=this._registeredRoutes.splice(0,n);console.log(`[RouterManager] Cleared ${u.length} old routes. Kept last ${o} routes.`)}},getRegisteredRoutesCount:function(){return this._registeredRoutes.length},getCallbacksCount:function(){return this._callbacks.length}}},31255:function(w,T,s){s.d(T,{Ep:function(){return p},ki:function(){return R}});const c={},E=[];function R(o,n,u,l){c.app=o,c.store=n,c.router=u,c.config=l}function p(o,n){E.includes(o)||(o({app:c.app,store:c.store,router:c.router,appConfig:c.config,moduleConfig:n}),E.push(o))}function $(o){return E.some(n=>n.name===o)}},46393:function(w,T,s){s.d(T,{l:function(){return O},s:function(){return C}});var c=s(60083),E=s(31176),R=s.n(E),p=s(65957),$=s(74170),o=s(79665),n=s(3312),u=s(95283),l=s(97919);function C(){return typeof navigator<"u"?navigator.onLine:!0}const O=async({query:F={},start:I=0,size:L=50,entityType:A="product_v2",sort:P="",storeCode:W=null,excludeFields:V=null,includeFields:D=null}={})=>{const d=await(0,$.I)();return L<=0&&(L=50),I<0&&(I=0),new Promise(async(v,i)=>{const t=(0,c.m1)(),a={store:W||t.storeCode,type:A,searchQuery:F,groupToken:null,groupId:null,
1size:L,from:I,sort:P};V&&(a._sourceExclude=V),D&&(a._sourceInclude=D),n.$W.usePriceTiers&&A==="product"&&p.A.state.user.groupId&&(a.groupId=p.A.state.user.groupId);const m=l.h.get("elasticCache");let f=!1;const h=(0,E.sha3_224)(JSON.stringify(a)),M=new Date;try{const g=await m.getItem(h);if(g!==null){g.cache=!0,g.noresults=!1,g.offline=!C(),o.V.debug("Result from cache for "+h+" ("+A+"), ms="+(new Date().getTime()-M.getTime()))(),f=!0,v(g);return}}catch(g){o.V.error("Cannot read cache for "+h+", "+g)()}if(a.groupId&&delete a.groupId,p.A.state.user.groupToken&&(a.groupToken=p.A.state.user.groupToken),!d.entities[a.type])throw new Error("No entity type registered for "+a.type);d.search(a).then(g=>{const e=d.entities[a.type].resultProcessor(g,I,L);e&&(m.setItem(h,e,null,n.$W.elasticsearch.disablePersistentQueriesCache,A).catch(r=>{o.V.error("Cannot store cache for "+h+", "+r)()}),f||(o.V.debug("Result from ES for "+h+" ("+A+"), ms="+(new Date().getTime()-M.getTime()))(),e.cache=!1,e.noresults=!1,e.offline=!1,v(e)))}).catch(g=>{f||(u.S$?(o.V.error("Can not connect the vue-storefront-api / ElasticSearch instance!","search",g)(),i(g)):(o.V.debug("No results and offline "+h+" ("+A+"), ms="+(new Date().getTime()-M.getTime()))(),v({items:[],total:0,start:0,perPage:0,aggregations:{},offline:!0,cache:!0,noresults:!0,suggestions:{}}))),i(g)})})}},55624:function(w,T,s){var c=s(3312);const E=n=>{const u=n&&(n.path||n);return u&&u.length>0&&u[0]!=="/"?`/${u}`:u},R=n=>{const u=E(n);return n&&typeof n=="object"?n.host?n.host+u:"":n},p=(n,u)=>{const l=E(n);return l.startsWith(`${u.url}/`)||l===u.url},$=(n,u)=>{const l=R(n);return l.startsWith(`${u.url}/`)||l===u.url},o=n=>{if(!n)return"";for(const u of c.$W.storeViews.mapStoreUrlsFor){const l=c.$W.storeViews[u];if(p(n,l)||$(n,l))return u}return""};T.A=o},60083:function(w,T,s){s.d(T,{$w:function(){return m},CC:function(){return v},Hd:function(){return t},JD:function(){return M},Oe:function(){return d},UR:function(){return a},m1:function(){return D},q5:function(){return g}});var c=s(65957),E=s(30650),R=s(37427),p=s(79665),$=s(86663),o=s(55364),n=s.n(o),u=s(7345),l=s(97919),C=s(55624),O=s(88055),F=s.n(O),I=s(58156),L=s.n(I),A=s(29954),P=s(3312);function W(e){if(e.extend){const r=e.extend;P.$W.storeViews[r]?e=n()({},W(P.$W.storeViews[r]),e):p.V.error(`Storeview "${e.extend}" doesn't exist!`)()}return e}function V(){return F()({tax:P.$W.tax,i18n:P.$W.i18n,elasticsearch:P.$W.elasticsearch,storeCode:null,storeId:P.$W.defaultStoreCode&&P.$W.defaultStoreCode!==""?P.$W.storeViews[P.$W.defaultStoreCode].storeId:2,seo:P.$W.seo})}function D(){return L()(c.A,"state.storeView",void 0)||V()}async function d(e){let r=V();P.$W.storeViews.multistore===!0?r.storeCode=e||P.$W.defaultStoreCode||"":r.storeCode=e||"";const _=!c.A.state.storeView||c.A.state.storeView.storeCode!==e;return r.storeCode&&P.$W.storeViews.multistore===!0&&P.$W.storeViews[r.storeCode]&&(r=n()(r,W(P.$W.storeViews[r.storeCode]))),c.A.state.user&&(c.A.state.user.current_storecode=r.storeCode),_&&(r=u.E.beforeStoreViewChanged(r),c.A.state.storeView=r,await(0,E.J4)(r.i18n.defaultLocale)),(_||l.h.currentStoreCode!==e)&&((0,R.a5)(),l.h.currentStoreCode=r.storeCode),u.E.afterStoreViewChanged(r),r}function v(e){const r=(0,C.A)(e);return r!==""?(typeof e=="object"?e.path:e).replace(r+"/",""):e}function i(e,r){const _=e.split("?");if(_.length>=2){const S=encodeURIComponent(r)+"=",y=_[1].split(/[&;]/g);for(let B=y.length;B-- >0;)y[B].lastIndexOf(S,0)!==-1&&y.splice(B,1);return _[0]+(y.length>0?"?"+y.join("&"):"")}return e}function t(e){const{storeCode:r}=D();if(r){e=i(e,"storeCode");const _=e.indexOf("?")>0?"&":"?";e+=`${_}storeCode=${r}`}return e}function a(e,r){const{storeCode:_,appendStoreCode:S}=D();(!r||!P.$W.storeViews[r])&&(r=_);const y=r&&S;if(typeof e=="string")return e[0]!=="/"&&(e=`/${e}`),y?`/${r}${e}`:e;if(e&&(e.fullPath&&!e.path&&(e.path=e.fullPath),e.path)){const B=y?`/${r}`:"",x=$.stringify(e.params),K=e.path[0]!=="/"?`/${e.path}`:e.path;return`${B}${K}${x?`?${x}`:""}`}return e}function m(e,r,_=!1){return _?`${r}-${e}`:e}function f(e,r){const _=e.startsWith("/")?e.slice(1):e;return _.includes("ru/")?`/${_}`:`/${r}/${_}`}function h(e,r,_=!1){const S={...e};return S.name&&r&&(S.name=`${r}-${S.name}`),S.path&&!_&&(S.path=f(S.path,r)),S.children&&(S.children=S.children.map(y=>h(y,r,!0))),S}function M(e,r=null){return r||(r=D().storeCode),e&&(typeof e=="object"&&e&&e.fullPath&&!e.path&&(e.path=e.fullPath),r&&P.$W.defaultStoreCode!==r&&P.$W.storeViews[r]&&P.$W.storeViews[r].appendStoreCode?typeof e!="object"?f(e,r):h(e,r):e)}function g(e,r,_,S=0){const y=[],{storeCode:B,appendStoreCode:x}=D();B&&x?y.push(..._.map(K=>h(K,B))):y.push(..._),A.p.addRoutes(y,!0,S)}},74170:function(w,T,s){s.d(T,{I:function(){return p}});var c=s(3312);let E={};const R=o=>typeof o.search=="function"&&typeof o.registerEntityType=="function",p=async(o=c.$W.server.api)=>{let n;try{n=await s(22153)(`./${o}/searchAdapter`)}catch{}if(!n)try{n=await s(33698)(`./${o}/searchAdapter`)}catch{}if(!n)throw new Error("Search adapter module was not found in `src/search/adapter` neither in the `core/lib/search/adapter` folders");const u=n.SearchAdapter;if(!u)throw new Error("Search adapter class is not provided");
1if(E[o])return E[o];const l=new u;if(!R(l))throw new Error("Not valid search adapter class provided. Search Adapter must implements SearchAdapterInterfaces");return E[o]=l,E[o]};var $={getSearchAdapter:p}},89789:function(w,T,s){s.d(T,{BS:function(){return A}});var c=s(85471),E=s(55364),R=s(65957),p=s(79665),$=s(60083),o=s(37826),n=s(95283),u=s(42426),l=s(7309);function C(D,d){return d.forEach(v=>{if(v.store&&v.store.modules.some(i=>i.key===D))return!0}),!1}function O(D,d){const v=[];return D.modules.map(i=>{v.push(merge(i,find(d.modules,{key:i.key})))}),d.modules.map(i=>{some(D.modules,null,{key:i.key})===!1&&v.push(i)}),v}var F=s(3312);const I=null,L=[];function A(D){D.forEach(d=>d.register()),p.V.info("VS Modules registration finished.","module",{succesfulyRegistered:L.length+" / "+D.length,registrationOrder:L})()}function P(D){I.push(D)}class W{constructor(d){this._isRegistered=!1,this._c=d}static _extendStore(d,v,i){v&&v.forEach(t=>d.registerModule(t.key,t.module)),i&&d.subscribe(i)}static _extendRouter(d,v,i,t){v&&setupMultistoreRoutes(config,d,v),i&&d.beforeEach(i),t&&d.afterEach(t)}_extendModule(d){const v={modules:[],plugin:null},i=this._c.key,t=this._c.store,a=d.store;delete this._c.store,delete d.store,this._c=merge(this._c,d),v.modules=mergeStores(t,a),v.plugin=a.plugin||t.plugin||null,this._c.store=v,Logger.info('Module "'+i+'" has been succesfully extended.',"module")()}get config(){return this._c}set config(d){this._c=d}
1register(){if(!this._isRegistered){Logger.warn("The module you are registering is using outdated API that will soon be depreciated. Please check https://docs.vuestorefront.io to learn more.","module",this._c.key)();let d=!0;const v={Vue,config,store:rootStore,isServer};if(I.forEach(i=>{i.key===this._c.key&&this._extendModule(i)}),this._c.store&&this._c.store.modules.forEach(i=>{doesStoreAlreadyExists(i.key,L)&&(Logger.warn('Error during "'+this._c.key+'" module registration! Store with key "'+i.key+'" already exists!',"module")(),d=!1)}),d)return this._c.beforeRegistration&&(this._c.beforeRegistration.length===1?this._c.beforeRegistration(v):(Logger.warn("You are using outdated signature for beforeRegistration hook that soon will be deprecated and module will stop working properly. Please update to the new signature that can be found in our docs: https://docs.vuestorefront.io/guide/modules/introduction.html#beforeregistration","module",this._c.key)(),this._c.beforeRegistration(Vue,config,rootStore,isServer))),this._c.store&&W._extendStore(rootStore,this._c.store.modules,this._c.store.plugin),this._c.router&&W._extendRouter(router,this._c.router.routes,this._c.router.beforeEach,this._c.router.afterEach),L.push(this._c),this._isRegistered=!0,this._c.afterRegistration&&(this._c.afterRegistration.length===1?this._c.afterRegistration(v):(Logger.warn("You are using outdated signature for afterRegistration hook that soon will be deprecated and module will stop working properly. Please update to the new signature that can be found in our docs: https://docs.vuestorefront.io/guide/modules/introduction.html#afterregistration","module",this._c.key)(),this._c.afterRegistration(Vue,config,rootStore,isServer))),this._c}}}function V(D){return new W(D)}},97919:function(w,T,s){s.d(T,{h:function(){return d}});var c=s(79665),E=s(73790),R=s(95283),p=s(88055),$=s.n(p);const o=800,n=2e3,u=1,l=30,C={};function O(i){const t=[],a=[i];let m=0;for(;a.length;){const f=a.pop();if(typeof f=="boolean")m+=4;else if(typeof f=="string")m+=f.length*2;else if(typeof f=="number")m+=8;else if(typeof f=="object"&&t.indexOf(f)===-1){t.push(f);for(const h in f)a.push(f[h])}}return m}class F{constructor(t,a=!0,m=0){this._cacheTimeouts={getItem:null,iterate:null,setItem:null,base:null};const f=t._config.storeName,h=t._config.name;if(this._storageQuota=m,this._storageQuota&&!R.S$){const M=this._storageQuota,g=this.iterate.bind(this),e=this.removeItem.bind(this);clearInterval(this._cacheTimeouts.base),this._cacheTimeouts.base=setInterval(()=>{let r=0;this.iterate(_=>{r+=O(_)},()=>{if(r/1024>M){c.V.info("Clearing out the storage ","cache",{storageSizeKB:Math.round(r/1024),storageQuotaKB:M})();const _=100,S=[];g((y,B,x)=>{x<_&&(e(B),S.push(B))},()=>{c.V.info("Cache purged","cache",{keysPurged:S})()})}else c.V.info("Storage size","cache",{storageSizeKB:Math.round(r/1024)})()})},3e4)}typeof this.cacheErrorsCount>"u"&&(this.cacheErrorsCount={}),typeof this.cacheErrorsCount[f]>"u"&&(this.cacheErrorsCount[f]=0),R.S$?this._localCache={}:(typeof C[h]>"u"&&(C[h]={}),typeof C[h][f]>"u"&&(C[h][f]={}),this._localCache=C[h][f]),this._collectionName=f,this._dbName=h,this._useLocalCacheByDefault=a,this._localForageCollection=t,this._lastError=null,this._persistenceErrorNotified=!1}getLastError(){return this._lastError}getDbName(){return this._dbName}clear(t){return this._localForageCollection.clear(t)}recreateDb(){if(this._localForageCollection._config){const t=Object.assign({},this._localForageCollection._config);if(t.storeName){const a=this._localForageCollection&&this._localForageCollection._dbInfo?this._localForageCollection._dbInfo.version+1:0;a>0?this._localForageCollection=E.createInstance({...t,version:a}):this._localForageCollection=E.createInstance(t),c.V.log("DB recreated with",t,a)()}}}getLocalCache(t){return typeof this._localCache[t]<"u"?$()(this._localCache[t]):null}getItem(t,a){const m=typeof a<"u"&&a;let f=!1;if(this._useLocalCacheByDefault&&this._localCache[t])return new Promise(h=>{const M=this.getLocalCache(t);m&&a(null,M),h(M)});if(R.S$)return new Promise(h=>{const M=this.getLocalCache(t);m&&a(null,M),h(M)});if(this.cacheErrorsCount[this._collectionName]>=u&&this._useLocalCacheByDefault)return this._persistenceErrorNotified||(c.V.error("Persistent cache disabled becasue of previous errors [get]",t)(),this._persistenceErrorNotified=!0),new Promise(h=>{m&&a(null,null),h(null)});{const h=new Date().getTime(),M=this._localForageCollection.ready().then(()=>this._localForageCollection.getItem(t).then(g=>{const e=new Date().getTime(),r=$()(g);return e-h>=o&&c.V.error("Cache promise resolved after [ms]"+t+(e-h))(),!this._localCache[t]&&r&&(this._localCache[t]=r),f?c.V.debug("Skipping return value as it was previously resolved")():(m&&a(null,r),f=!0),r}).catch(g=>{if(this._lastError=g,!f){const e=this.getLocalCache(t);m&&a(null,e)}c.V.error(g)(),f=!0}));return clearTimeout(this._cacheTimeouts.getItem),this._cacheTimeouts.getItem=setTimeout(()=>{if(!f){this._persistenceErrorNotified||(c.V.error("Cache not responding for "+t+".","cache",{timeout:o,errorsCount:this.cacheErrorsCount[this._collectionName]})(),this._persistenceErrorNotified=!0,this.recreateDb()),this.cacheErrorsCount[this._collectionName]=this.cacheErrorsCount[this._collectionName]?this.cacheErrorsCount[this._collectionName]+1:1;const g=this.getLocalCache(t);m&&a(null,g)}},o),M}}iterate(t,a){const m=typeof t<"u"&&t,f=typeof a<"u"&&a;let h=1;if(this._useLocalCacheByDefault)for(const e in this._localCache)m&&(t(this._localCache[e],e,h),h++);let M=!1;const g=this._localForageCollection.ready().then(()=>this._localForageCollection.iterate((e,r,_)=>{M=!0,m&&(this._useLocalCacheByDefault?typeof this._localCache[r]>"u"&&(t(e,r,h),h++):t(e,r,_))},(e,r)=>{f&&a(e,r),M=!0}
1)).catch(e=>{this._lastError=e,c.V.error(e)(),M||(M=!0,f&&a(e,null))});return clearTimeout(this._cacheTimeouts.iterate),this._cacheTimeouts.iterate=setTimeout(()=>{M||(this._persistenceErrorNotified||(c.V.error("Cache not responding. (iterate)","cache",{timeout:o,errorsCount:this.cacheErrorsCount[this._collectionName]})(),this._persistenceErrorNotified=!0,this.recreateDb()),this.cacheErrorsCount[this._collectionName]=this.cacheErrorsCount[this._collectionName]?this.cacheErrorsCount[this._collectionName]+1:1,f&&a(null,null))},n),g}key(t,a){return this._localForageCollection.key(t,a)}keys(t){return this._localForageCollection.keys(t)}length(t){return this._localForageCollection.length(t)}removeItem(t,a){return typeof this._localCache[t]<"u"&&delete this._localCache[t],this._localForageCollection.removeItem(t,a)}setItem(t,a,m,f=!1){const h=typeof m<"u"&&m,M=$()(a);if(this._localCache[t]=M,f)return new Promise(g=>{h&&m(null,null),g(null)});if(R.S$)return new Promise(g=>g(!0));if(this.cacheErrorsCount[this._collectionName]>=l&&this._useLocalCacheByDefault)return this._persistenceErrorNotified||(c.V.error("Persistent cache disabled becasue of previous errors [set]",t)(),this._persistenceErrorNotified=!0),new Promise(g=>{h&&m(null,null),g(null)});{let g=!1;const e=()=>this._localForageCollection.setItem(t,M).then(_=>{h&&m(null,_),g=!0}).catch(async _=>{throw(_.name==="QuotaExceededError"||_.name==="NS_ERROR_DOM_QUOTA_REACHED")&&(await d.clear(),e()),g=!0,this._lastError=_,_}),r=this._localForageCollection.ready().then(e);return clearTimeout(this._cacheTimeouts.iterate),this._cacheTimeouts.setItem=setTimeout(()=>{g||(this._persistenceErrorNotified||(c.V.error("Cache not responding for "+t+".","cache",{timeout:o,errorsCount:this.cacheErrorsCount[this._collectionName]})(),this._persistenceErrorNotified=!0,this.recreateDb()),this.cacheErrorsCount[this._collectionName]=this.cacheErrorsCount[this._collectionName]?this.cacheErrorsCount[this._collectionName]+1:1,h&&m(null,null))},o),r}}}var I=F,L=s(60083),A=s(3312),P=s(65606);function W(i,t=!A.$W.storeViews.commonCache,a=0){if(R.S$)return;const m=(0,L.m1)(),f=m&&m.storeCode?m.storeCode+"-":"",h=A.$W.localForage&&A.$W.localForage.defaultDrivers[i]?A.$W.localForage.defaultDrivers[i]:"LOCALSTORAGE";return new I(E.createInstance({name:t?`${f}shop`:"shop",storeName:i,driver:E[h]}),!0,a)}const V=()=>new Promise(i=>i(null)),D=P?.cacheInstance?P.cacheInstance:()=>({setItem:V,getItem:V,clear:V}),d={currentStoreCode:"",storageMap:{},init:function(i,t=!A.$W.storeViews.commonCache,a=0){return R.S$?D(i):(this.storageMap[i]=W(i,t,a),this.storageMap[i])},set:function(i,t){return R.S$?D(i):(this.storageMap[i]=t,t)},exists(i){return R.S$?!1:!!this.storageMap[i]},get:function(i){return R.S$?D(i):this.exists(i)?this.storageMap[i]:(c.V.warn("Called cache collection "+i+" does not exist. Initializing.","cache"),this.set(i,v(i,!0)))},clear(){if(R.S$)return;const i=Object.keys(this.storageMap).map(t=>(A.$W.localForage.preserveCollections||[]).every(a=>t!==a)&&this.storageMap[t].clear().then(()=>{c.V.warn(`storeManager cleared: ${t}`,`storeManager cleared: ${t}`,`storeManager cleared: ${t}`)()}));return Promise.all(i)}};function v(i,t=!0,a=!0){if(!R.S$)return a?d.exists(i)?d.get(i):d.set(i,W(i,t)):W(i,t)}}}]);
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.