1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[2924],{32924:(m,a,i)=>{i.r(a),i.d(a,{PreferencesWeb:()=>c});var s=i(10467),p=i(15083);class c extends p.E_{constructor(){super(...arguments),this.group="CapacitorStorage"}configure(e){var t=this;return(0,s.A)(function*({group:r}){"string"==typeof r&&(t.group=r)}).apply(this,arguments)}get(e){var t=this;return(0,s.A)(function*(){return{value:t.impl.getItem(t.applyPrefix(e.key))}})()}set(e){var t=this;return(0,s.A)(function*(){t.impl.setItem(t.applyPrefix(e.key),e.value)})()}remove(e){var t=this;return(0,s.A)(function*(){t.impl.removeItem(t.applyPrefix(e.key))})()}keys(){var e=this;return(0,s.A)(function*(){return{keys:e.rawKeys().map(r=>r.substring(e.prefix.length))}})()}clear(){var e=this;return(0,s.A)(function*(){for(const t of e.rawKeys())e.impl.removeItem(t)})()}migrate(){var e=this;return(0,s.A)(function*(){var t;const r=[],n=[],f=Object.keys(e.impl).filter(o=>0===o.indexOf("_cap_"));for(const o of f){const u=o.substring(5),h=null!==(t=e.impl.getItem(o))&&void 0!==t?t:"",{value:_}=yield e.get({key:u});"string"==typeof _?n.push(u):(yield e.set({key:u,value:h}),r.push(u))}return{migrated:r,existing:n}})()}removeOld(){var e=this;return(0,s.A)(function*(){const r=Object.keys(e.impl).filter(n=>0===n.indexOf("_cap_"));for(const n of r)e.impl.removeItem(n)})()}get impl(){return window.localStorage}get prefix(){return"NativeStorage"===this.group?"":`${this.group}.`}rawKeys(){return Object.keys(this.impl).filter(e=>0===e.indexOf(this.prefix))}applyPrefix(e){return this.prefix+e}}}}]);
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.