mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
31 KiB
Plaintext
1 line
31 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"clear\", {\n enumerable: true,\n get: function () {\n return clear;\n }\n });\n Object.defineProperty(exports, \"createStore\", {\n enumerable: true,\n get: function () {\n return createStore;\n }\n });\n Object.defineProperty(exports, \"del\", {\n enumerable: true,\n get: function () {\n return del;\n }\n });\n Object.defineProperty(exports, \"delMany\", {\n enumerable: true,\n get: function () {\n return delMany;\n }\n });\n Object.defineProperty(exports, \"entries\", {\n enumerable: true,\n get: function () {\n return entries;\n }\n });\n Object.defineProperty(exports, \"get\", {\n enumerable: true,\n get: function () {\n return get;\n }\n });\n Object.defineProperty(exports, \"getMany\", {\n enumerable: true,\n get: function () {\n return getMany;\n }\n });\n Object.defineProperty(exports, \"keys\", {\n enumerable: true,\n get: function () {\n return keys;\n }\n });\n Object.defineProperty(exports, \"promisifyRequest\", {\n enumerable: true,\n get: function () {\n return promisifyRequest;\n }\n });\n Object.defineProperty(exports, \"set\", {\n enumerable: true,\n get: function () {\n return set;\n }\n });\n Object.defineProperty(exports, \"setMany\", {\n enumerable: true,\n get: function () {\n return setMany;\n }\n });\n Object.defineProperty(exports, \"update\", {\n enumerable: true,\n get: function () {\n return update;\n }\n });\n Object.defineProperty(exports, \"values\", {\n enumerable: true,\n get: function () {\n return values;\n }\n });\n function promisifyRequest(request) {\n return new Promise((resolve, reject) => {\n // @ts-ignore - file size hacks\n request.oncomplete = request.onsuccess = () => resolve(request.result);\n // @ts-ignore - file size hacks\n request.onabort = request.onerror = () => reject(request.error);\n });\n }\n function createStore(dbName, storeName) {\n let dbp;\n const getDB = () => {\n if (dbp) return dbp;\n const request = indexedDB.open(dbName);\n request.onupgradeneeded = () => request.result.createObjectStore(storeName);\n dbp = promisifyRequest(request);\n dbp.then(db => {\n // It seems like Safari sometimes likes to just close the connection.\n // It's supposed to fire this event when that happens. Let's hope it does!\n db.onclose = () => dbp = undefined;\n }, () => {});\n return dbp;\n };\n return (txMode, callback) => getDB().then(db => callback(db.transaction(storeName, txMode).objectStore(storeName)));\n }\n let defaultGetStoreFunc;\n function defaultGetStore() {\n if (!defaultGetStoreFunc) {\n defaultGetStoreFunc = createStore('keyval-store', 'keyval');\n }\n return defaultGetStoreFunc;\n }\n /**\n * Get a value by its key.\n *\n * @param key\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function get(key, customStore = defaultGetStore()) {\n return customStore('readonly', store => promisifyRequest(store.get(key)));\n }\n /**\n * Set a value with a key.\n *\n * @param key\n * @param value\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function set(key, value, customStore = defaultGetStore()) {\n return customStore('readwrite', store => {\n store.put(value, key);\n return promisifyRequest(store.transaction);\n });\n }\n /**\n * Set multiple values at once. This is faster than calling set() multiple times.\n * It's also atomic – if one of the pairs can't be added, none will be added.\n *\n * @param entries Array of entries, where each entry is an array of `[key, value]`.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function setMany(entries, customStore = defaultGetStore()) {\n return customStore('readwrite', store => {\n entries.forEach(entry => store.put(entry[1], entry[0]));\n return promisifyRequest(store.transaction);\n });\n }\n /**\n * Get multiple values by their keys\n *\n * @param keys\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function getMany(keys, customStore = defaultGetStore()) {\n return customStore('readonly', store => Promise.all(keys.map(key => promisifyRequest(store.get(key)))));\n }\n /**\n * Update a value. This lets you see the old value and update it as an atomic operation.\n *\n * @param key\n * @param updater A callback that takes the old value and returns a new value.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function update(key, updater, customStore = defaultGetStore()) {\n return customStore('readwrite', store =>\n // Need to create the promise manually.\n // If I try to chain promises, the transaction closes in browsers\n // that use a promise polyfill (IE10/11).\n new Promise((resolve, reject) => {\n store.get(key).onsuccess = function () {\n try {\n store.put(updater(this.result), key);\n resolve(promisifyRequest(store.transaction));\n } catch (err) {\n reject(err);\n }\n };\n }));\n }\n /**\n * Delete a particular key from the store.\n *\n * @param key\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function del(key, customStore = defaultGetStore()) {\n return customStore('readwrite', store => {\n store.delete(key);\n return promisifyRequest(store.transaction);\n });\n }\n /**\n * Delete multiple keys at once.\n *\n * @param keys List of keys to delete.\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function delMany(keys, customStore = defaultGetStore()) {\n return customStore('readwrite', store => {\n keys.forEach(key => store.delete(key));\n return promisifyRequest(store.transaction);\n });\n }\n /**\n * Clear all values in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function clear(customStore = defaultGetStore()) {\n return customStore('readwrite', store => {\n store.clear();\n return promisifyRequest(store.transaction);\n });\n }\n function eachCursor(store, callback) {\n store.openCursor().onsuccess = function () {\n if (!this.result) return;\n callback(this.result);\n this.result.continue();\n };\n return promisifyRequest(store.transaction);\n }\n /**\n * Get all keys in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function keys(customStore = defaultGetStore()) {\n return customStore('readonly', store => {\n // Fast path for modern browsers\n if (store.getAllKeys) {\n return promisifyRequest(store.getAllKeys());\n }\n const items = [];\n return eachCursor(store, cursor => items.push(cursor.key)).then(() => items);\n });\n }\n /**\n * Get all values in the store.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function values(customStore = defaultGetStore()) {\n return customStore('readonly', store => {\n // Fast path for modern browsers\n if (store.getAll) {\n return promisifyRequest(store.getAll());\n }\n const items = [];\n return eachCursor(store, cursor => items.push(cursor.value)).then(() => items);\n });\n }\n /**\n * Get all entries in the store. Each entry is an array of `[key, value]`.\n *\n * @param customStore Method to get a custom store. Use with caution (see the docs).\n */\n function entries(customStore = defaultGetStore()) {\n return customStore('readonly', store => {\n // Fast path for modern browsers\n // (although, hopefully we'll get a simpler path some day)\n if (store.getAll && store.getAllKeys) {\n return Promise.all([promisifyRequest(store.getAllKeys()), promisifyRequest(store.getAll())]).then(([keys, values]) => keys.map((key, i) => [key, values[i]]));\n }\n const items = [];\n return customStore('readonly', store => eachCursor(store, cursor => items.push([cursor.key, cursor.value])).then(() => items));\n });\n }\n});","lineCount":272,"map":[[7,2,195,0,"Object"],[7,8,195,0],[7,9,195,0,"defineProperty"],[7,23,195,0],[7,24,195,0,"exports"],[7,31,195,0],[8,4,195,0,"enumerable"],[8,14,195,0],[9,4,195,0,"get"],[9,7,195,0],[9,18,195,0,"get"],[9,19,195,0],[10,6,195,0],[10,13,195,9,"clear"],[10,18,195,14],[11,4,195,14],[12,2,195,14],[13,2,195,0,"Object"],[13,8,195,0],[13,9,195,0,"defineProperty"],[13,23,195,0],[13,24,195,0,"exports"],[13,31,195,0],[14,4,195,0,"enumerable"],[14,14,195,0],[15,4,195,0,"get"],[15,7,195,0],[15,18,195,0,"get"],[15,19,195,0],[16,6,195,0],[16,13,195,16,"createStore"],[16,24,195,27],[17,4,195,27],[18,2,195,27],[19,2,195,0,"Object"],[19,8,195,0],[19,9,195,0,"defineProperty"],[19,23,195,0],[19,24,195,0,"exports"],[19,31,195,0],[20,4,195,0,"enumerable"],[20,14,195,0],[21,4,195,0,"get"],[21,7,195,0],[21,18,195,0,"get"],[21,19,195,0],[22,6,195,0],[22,13,195,29,"del"],[22,16,195,32],[23,4,195,32],[24,2,195,32],[25,2,195,0,"Object"],[25,8,195,0],[25,9,195,0,"defineProperty"],[25,23,195,0],[25,24,195,0,"exports"],[25,31,195,0],[26,4,195,0,"enumerable"],[26,14,195,0],[27,4,195,0,"get"],[27,7,195,0],[27,18,195,0,"get"],[27,19,195,0],[28,6,195,0],[28,13,195,34,"delMany"],[28,20,195,41],[29,4,195,41],[30,2,195,41],[31,2,195,0,"Object"],[31,8,195,0],[31,9,195,0,"defineProperty"],[31,23,195,0],[31,24,195,0,"exports"],[31,31,195,0],[32,4,195,0,"enumerable"],[32,14,195,0],[33,4,195,0,"get"],[33,7,195,0],[33,18,195,0,"get"],[33,19,195,0],[34,6,195,0],[34,13,195,43,"entries"],[34,20,195,50],[35,4,195,50],[36,2,195,50],[37,2,195,0,"Object"],[37,8,195,0],[37,9,195,0,"defineProperty"],[37,23,195,0],[37,24,195,0,"exports"],[37,31,195,0],[38,4,195,0,"enumerable"],[38,14,195,0],[39,4,195,0,"get"],[39,7,195,0],[39,18,195,0,"get"],[39,19,195,0],[40,6,195,0],[40,13,195,52,"get"],[40,16,195,55],[41,4,195,55],[42,2,195,55],[43,2,195,0,"Object"],[43,8,195,0],[43,9,195,0,"defineProperty"],[43,23,195,0],[43,24,195,0,"exports"],[43,31,195,0],[44,4,195,0,"enumerable"],[44,14,195,0],[45,4,195,0,"get"],[45,7,195,0],[45,18,195,0,"get"],[45,19,195,0],[46,6,195,0],[46,13,195,57,"getMany"],[46,20,195,64],[47,4,195,64],[48,2,195,64],[49,2,195,0,"Object"],[49,8,195,0],[49,9,195,0,"defineProperty"],[49,23,195,0],[49,24,195,0,"exports"],[49,31,195,0],[50,4,195,0,"enumerable"],[50,14,195,0],[51,4,195,0,"get"],[51,7,195,0],[51,18,195,0,"get"],[51,19,195,0],[52,6,195,0],[52,13,195,66,"keys"],[52,17,195,70],[53,4,195,70],[54,2,195,70],[55,2,195,0,"Object"],[55,8,195,0],[55,9,195,0,"defineProperty"],[55,23,195,0],[55,24,195,0,"exports"],[55,31,195,0],[56,4,195,0,"enumerable"],[56,14,195,0],[57,4,195,0,"get"],[57,7,195,0],[57,18,195,0,"get"],[57,19,195,0],[58,6,195,0],[58,13,195,72,"promisifyRequest"],[58,29,195,88],[59,4,195,88],[60,2,195,88],[61,2,195,0,"Object"],[61,8,195,0],[61,9,195,0,"defineProperty"],[61,23,195,0],[61,24,195,0,"exports"],[61,31,195,0],[62,4,195,0,"enumerable"],[62,14,195,0],[63,4,195,0,"get"],[63,7,195,0],[63,18,195,0,"get"],[63,19,195,0],[64,6,195,0],[64,13,195,90,"set"],[64,16,195,93],[65,4,195,93],[66,2,195,93],[67,2,195,0,"Object"],[67,8,195,0],[67,9,195,0,"defineProperty"],[67,23,195,0],[67,24,195,0,"exports"],[67,31,195,0],[68,4,195,0,"enumerable"],[68,14,195,0],[69,4,195,0,"get"],[69,7,195,0],[69,18,195,0,"get"],[69,19,195,0],[70,6,195,0],[70,13,195,95,"setMany"],[70,20,195,102],[71,4,195,102],[72,2,195,102],[73,2,195,0,"Object"],[73,8,195,0],[73,9,195,0,"defineProperty"],[73,23,195,0],[73,24,195,0,"exports"],[73,31,195,0],[74,4,195,0,"enumerable"],[74,14,195,0],[75,4,195,0,"get"],[75,7,195,0],[75,18,195,0,"get"],[75,19,195,0],[76,6,195,0],[76,13,195,104,"update"],[76,19,195,110],[77,4,195,110],[78,2,195,110],[79,2,195,0,"Object"],[79,8,195,0],[79,9,195,0,"defineProperty"],[79,23,195,0],[79,24,195,0,"exports"],[79,31,195,0],[80,4,195,0,"enumerable"],[80,14,195,0],[81,4,195,0,"get"],[81,7,195,0],[81,18,195,0,"get"],[81,19,195,0],[82,6,195,0],[82,13,195,112,"values"],[82,19,195,118],[83,4,195,118],[84,2,195,118],[85,2,1,0],[85,11,1,9,"promisifyRequest"],[85,27,1,25,"promisifyRequest"],[85,28,1,26,"request"],[85,35,1,33],[85,37,1,35],[86,4,2,4],[86,11,2,11],[86,15,2,15,"Promise"],[86,22,2,22],[86,23,2,23],[86,24,2,24,"resolve"],[86,31,2,31],[86,33,2,33,"reject"],[86,39,2,39],[86,44,2,44],[87,6,3,8],[88,6,4,8,"request"],[88,13,4,15],[88,14,4,16,"oncomplete"],[88,24,4,26],[88,27,4,29,"request"],[88,34,4,36],[88,35,4,37,"onsuccess"],[88,44,4,46],[88,47,4,49],[88,53,4,55,"resolve"],[88,60,4,62],[88,61,4,63,"request"],[88,68,4,70],[88,69,4,71,"result"],[88,75,4,77],[88,76,4,78],[89,6,5,8],[90,6,6,8,"request"],[90,13,6,15],[90,14,6,16,"onabort"],[90,21,6,23],[90,24,6,26,"request"],[90,31,6,33],[90,32,6,34,"onerror"],[90,39,6,41],[90,42,6,44],[90,48,6,50,"reject"],[90,54,6,56],[90,55,6,57,"request"],[90,62,6,64],[90,63,6,65,"error"],[90,68,6,70],[90,69,6,71],[91,4,7,4],[91,5,7,5],[91,6,7,6],[92,2,8,0],[93,2,9,0],[93,11,9,9,"createStore"],[93,22,9,20,"createStore"],[93,23,9,21,"dbName"],[93,29,9,27],[93,31,9,29,"storeName"],[93,40,9,38],[93,42,9,40],[94,4,10,4],[94,8,10,8,"dbp"],[94,11,10,11],[95,4,11,4],[95,10,11,10,"getDB"],[95,15,11,15],[95,18,11,18,"getDB"],[95,19,11,18],[95,24,11,24],[96,6,12,8],[96,10,12,12,"dbp"],[96,13,12,15],[96,15,13,12],[96,22,13,19,"dbp"],[96,25,13,22],[97,6,14,8],[97,12,14,14,"request"],[97,19,14,21],[97,22,14,24,"indexedDB"],[97,31,14,33],[97,32,14,34,"open"],[97,36,14,38],[97,37,14,39,"dbName"],[97,43,14,45],[97,44,14,46],[98,6,15,8,"request"],[98,13,15,15],[98,14,15,16,"onupgradeneeded"],[98,29,15,31],[98,32,15,34],[98,38,15,40,"request"],[98,45,15,47],[98,46,15,48,"result"],[98,52,15,54],[98,53,15,55,"createObjectStore"],[98,70,15,72],[98,71,15,73,"storeName"],[98,80,15,82],[98,81,15,83],[99,6,16,8,"dbp"],[99,9,16,11],[99,12,16,14,"promisifyRequest"],[99,28,16,30],[99,29,16,31,"request"],[99,36,16,38],[99,37,16,39],[100,6,17,8,"dbp"],[100,9,17,11],[100,10,17,12,"then"],[100,14,17,16],[100,15,17,18,"db"],[100,17,17,20],[100,21,17,25],[101,8,18,12],[102,8,19,12],[103,8,20,12,"db"],[103,10,20,14],[103,11,20,15,"onclose"],[103,18,20,22],[103,21,20,25],[103,27,20,32,"dbp"],[103,30,20,35],[103,33,20,38,"undefined"],[103,42,20,48],[104,6,21,8],[104,7,21,9],[104,9,21,11],[104,15,21,17],[104,16,21,19],[104,17,21,20],[104,18,21,21],[105,6,22,8],[105,13,22,15,"dbp"],[105,16,22,18],[106,4,23,4],[106,5,23,5],[107,4,24,4],[107,11,24,11],[107,12,24,12,"txMode"],[107,18,24,18],[107,20,24,20,"callback"],[107,28,24,28],[107,33,24,33,"getDB"],[107,38,24,38],[107,39,24,39],[107,40,24,40],[107,41,24,41,"then"],[107,45,24,45],[107,46,24,47,"db"],[107,48,24,49],[107,52,24,54,"callback"],[107,60,24,62],[107,61,24,63,"db"],[107,63,24,65],[107,64,24,66,"transaction"],[107,75,24,77],[107,76,24,78,"storeName"],[107,85,24,87],[107,87,24,89,"txMode"],[107,93,24,95],[107,94,24,96],[107,95,24,97,"objectStore"],[107,106,24,108],[107,107,24,109,"storeName"],[107,116,24,118],[107,117,24,119],[107,118,24,120],[107,119,24,121],[108,2,25,0],[109,2,26,0],[109,6,26,4,"defaultGetStoreFunc"],[109,25,26,23],[110,2,27,0],[110,11,27,9,"defaultGetStore"],[110,26,27,24,"defaultGetStore"],[110,27,27,24],[110,29,27,27],[111,4,28,4],[111,8,28,8],[111,9,28,9,"defaultGetStoreFunc"],[111,28,28,28],[111,30,28,30],[112,6,29,8,"defaultGetStoreFunc"],[112,25,29,27],[112,28,29,30,"createStore"],[112,39,29,41],[112,40,29,42],[112,54,29,56],[112,56,29,58],[112,64,29,66],[112,65,29,67],[113,4,30,4],[114,4,31,4],[114,11,31,11,"defaultGetStoreFunc"],[114,30,31,30],[115,2,32,0],[116,2,33,0],[117,0,34,0],[118,0,35,0],[119,0,36,0],[120,0,37,0],[121,0,38,0],[122,2,39,0],[122,11,39,9,"get"],[122,14,39,12,"get"],[122,15,39,13,"key"],[122,18,39,16],[122,20,39,18,"customStore"],[122,31,39,29],[122,34,39,32,"defaultGetStore"],[122,49,39,47],[122,50,39,48],[122,51,39,49],[122,53,39,51],[123,4,40,4],[123,11,40,11,"customStore"],[123,22,40,22],[123,23,40,23],[123,33,40,33],[123,35,40,36,"store"],[123,40,40,41],[123,44,40,46,"promisifyRequest"],[123,60,40,62],[123,61,40,63,"store"],[123,66,40,68],[123,67,40,69,"get"],[123,70,40,72],[123,71,40,73,"key"],[123,74,40,76],[123,75,40,77],[123,76,40,78],[123,77,40,79],[124,2,41,0],[125,2,42,0],[126,0,43,0],[127,0,44,0],[128,0,45,0],[129,0,46,0],[130,0,47,0],[131,0,48,0],[132,2,49,0],[132,11,49,9,"set"],[132,14,49,12,"set"],[132,15,49,13,"key"],[132,18,49,16],[132,20,49,18,"value"],[132,25,49,23],[132,27,49,25,"customStore"],[132,38,49,36],[132,41,49,39,"defaultGetStore"],[132,56,49,54],[132,57,49,55],[132,58,49,56],[132,60,49,58],[133,4,50,4],[133,11,50,11,"customStore"],[133,22,50,22],[133,23,50,23],[133,34,50,34],[133,36,50,37,"store"],[133,41,50,42],[133,45,50,47],[134,6,51,8,"store"],[134,11,51,13],[134,12,51,14,"put"],[134,15,51,17],[134,16,51,18,"value"],[134,21,51,23],[134,23,51,25,"key"],[134,26,51,28],[134,27,51,29],[135,6,52,8],[135,13,52,15,"promisifyRequest"],[135,29,52,31],[135,30,52,32,"store"],[135,35,52,37],[135,36,52,38,"transaction"],[135,47,52,49],[135,48,52,50],[136,4,53,4],[136,5,53,5],[136,6,53,6],[137,2,54,0],[138,2,55,0],[139,0,56,0],[140,0,57,0],[141,0,58,0],[142,0,59,0],[143,0,60,0],[144,0,61,0],[145,2,62,0],[145,11,62,9,"setMany"],[145,18,62,16,"setMany"],[145,19,62,17,"entries"],[145,26,62,24],[145,28,62,26,"customStore"],[145,39,62,37],[145,42,62,40,"defaultGetStore"],[145,57,62,55],[145,58,62,56],[145,59,62,57],[145,61,62,59],[146,4,63,4],[146,11,63,11,"customStore"],[146,22,63,22],[146,23,63,23],[146,34,63,34],[146,36,63,37,"store"],[146,41,63,42],[146,45,63,47],[147,6,64,8,"entries"],[147,13,64,15],[147,14,64,16,"forEach"],[147,21,64,23],[147,22,64,25,"entry"],[147,27,64,30],[147,31,64,35,"store"],[147,36,64,40],[147,37,64,41,"put"],[147,40,64,44],[147,41,64,45,"entry"],[147,46,64,50],[147,47,64,51],[147,48,64,52],[147,49,64,53],[147,51,64,55,"entry"],[147,56,64,60],[147,57,64,61],[147,58,64,62],[147,59,64,63],[147,60,64,64],[147,61,64,65],[148,6,65,8],[148,13,65,15,"promisifyRequest"],[148,29,65,31],[148,30,65,32,"store"],[148,35,65,37],[148,36,65,38,"transaction"],[148,47,65,49],[148,48,65,50],[149,4,66,4],[149,5,66,5],[149,6,66,6],[150,2,67,0],[151,2,68,0],[152,0,69,0],[153,0,70,0],[154,0,71,0],[155,0,72,0],[156,0,73,0],[157,2,74,0],[157,11,74,9,"getMany"],[157,18,74,16,"getMany"],[157,19,74,17,"keys"],[157,23,74,21],[157,25,74,23,"customStore"],[157,36,74,34],[157,39,74,37,"defaultGetStore"],[157,54,74,52],[157,55,74,53],[157,56,74,54],[157,58,74,56],[158,4,75,4],[158,11,75,11,"customStore"],[158,22,75,22],[158,23,75,23],[158,33,75,33],[158,35,75,36,"store"],[158,40,75,41],[158,44,75,46,"Promise"],[158,51,75,53],[158,52,75,54,"all"],[158,55,75,57],[158,56,75,58,"keys"],[158,60,75,62],[158,61,75,63,"map"],[158,64,75,66],[158,65,75,68,"key"],[158,68,75,71],[158,72,75,76,"promisifyRequest"],[158,88,75,92],[158,89,75,93,"store"],[158,94,75,98],[158,95,75,99,"get"],[158,98,75,102],[158,99,75,103,"key"],[158,102,75,106],[158,103,75,107],[158,104,75,108],[158,105,75,109],[158,106,75,110],[158,107,75,111],[159,2,76,0],[160,2,77,0],[161,0,78,0],[162,0,79,0],[163,0,80,0],[164,0,81,0],[165,0,82,0],[166,0,83,0],[167,2,84,0],[167,11,84,9,"update"],[167,17,84,15,"update"],[167,18,84,16,"key"],[167,21,84,19],[167,23,84,21,"updater"],[167,30,84,28],[167,32,84,30,"customStore"],[167,43,84,41],[167,46,84,44,"defaultGetStore"],[167,61,84,59],[167,62,84,60],[167,63,84,61],[167,65,84,63],[168,4,85,4],[168,11,85,11,"customStore"],[168,22,85,22],[168,23,85,23],[168,34,85,34],[168,36,85,37,"store"],[168,41,85,42],[169,4,86,4],[170,4,87,4],[171,4,88,4],[172,4,89,4],[172,8,89,8,"Promise"],[172,15,89,15],[172,16,89,16],[172,17,89,17,"resolve"],[172,24,89,24],[172,26,89,26,"reject"],[172,32,89,32],[172,37,89,37],[173,6,90,8,"store"],[173,11,90,13],[173,12,90,14,"get"],[173,15,90,17],[173,16,90,18,"key"],[173,19,90,21],[173,20,90,22],[173,21,90,23,"onsuccess"],[173,30,90,32],[173,33,90,35],[173,45,90,47],[174,8,91,12],[174,12,91,16],[175,10,92,16,"store"],[175,15,92,21],[175,16,92,22,"put"],[175,19,92,25],[175,20,92,26,"updater"],[175,27,92,33],[175,28,92,34],[175,32,92,38],[175,33,92,39,"result"],[175,39,92,45],[175,40,92,46],[175,42,92,48,"key"],[175,45,92,51],[175,46,92,52],[176,10,93,16,"resolve"],[176,17,93,23],[176,18,93,24,"promisifyRequest"],[176,34,93,40],[176,35,93,41,"store"],[176,40,93,46],[176,41,93,47,"transaction"],[176,52,93,58],[176,53,93,59],[176,54,93,60],[177,8,94,12],[177,9,94,13],[177,10,95,12],[177,17,95,19,"err"],[177,20,95,22],[177,22,95,24],[178,10,96,16,"reject"],[178,16,96,22],[178,17,96,23,"err"],[178,20,96,26],[178,21,96,27],[179,8,97,12],[180,6,98,8],[180,7,98,9],[181,4,99,4],[181,5,99,5],[181,6,99,6],[181,7,99,7],[182,2,100,0],[183,2,101,0],[184,0,102,0],[185,0,103,0],[186,0,104,0],[187,0,105,0],[188,0,106,0],[189,2,107,0],[189,11,107,9,"del"],[189,14,107,12,"del"],[189,15,107,13,"key"],[189,18,107,16],[189,20,107,18,"customStore"],[189,31,107,29],[189,34,107,32,"defaultGetStore"],[189,49,107,47],[189,50,107,48],[189,51,107,49],[189,53,107,51],[190,4,108,4],[190,11,108,11,"customStore"],[190,22,108,22],[190,23,108,23],[190,34,108,34],[190,36,108,37,"store"],[190,41,108,42],[190,45,108,47],[191,6,109,8,"store"],[191,11,109,13],[191,12,109,14,"delete"],[191,18,109,20],[191,19,109,21,"key"],[191,22,109,24],[191,23,109,25],[192,6,110,8],[192,13,110,15,"promisifyRequest"],[192,29,110,31],[192,30,110,32,"store"],[192,35,110,37],[192,36,110,38,"transaction"],[192,47,110,49],[192,48,110,50],[193,4,111,4],[193,5,111,5],[193,6,111,6],[194,2,112,0],[195,2,113,0],[196,0,114,0],[197,0,115,0],[198,0,116,0],[199,0,117,0],[200,0,118,0],[201,2,119,0],[201,11,119,9,"delMany"],[201,18,119,16,"delMany"],[201,19,119,17,"keys"],[201,23,119,21],[201,25,119,23,"customStore"],[201,36,119,34],[201,39,119,37,"defaultGetStore"],[201,54,119,52],[201,55,119,53],[201,56,119,54],[201,58,119,56],[202,4,120,4],[202,11,120,11,"customStore"],[202,22,120,22],[202,23,120,23],[202,34,120,34],[202,36,120,37,"store"],[202,41,120,42],[202,45,120,47],[203,6,121,8,"keys"],[203,10,121,12],[203,11,121,13,"forEach"],[203,18,121,20],[203,19,121,22,"key"],[203,22,121,25],[203,26,121,30,"store"],[203,31,121,35],[203,32,121,36,"delete"],[203,38,121,42],[203,39,121,43,"key"],[203,42,121,46],[203,43,121,47],[203,44,121,48],[204,6,122,8],[204,13,122,15,"promisifyRequest"],[204,29,122,31],[204,30,122,32,"store"],[204,35,122,37],[204,36,122,38,"transaction"],[204,47,122,49],[204,48,122,50],[205,4,123,4],[205,5,123,5],[205,6,123,6],[206,2,124,0],[207,2,125,0],[208,0,126,0],[209,0,127,0],[210,0,128,0],[211,0,129,0],[212,2,130,0],[212,11,130,9,"clear"],[212,16,130,14,"clear"],[212,17,130,15,"customStore"],[212,28,130,26],[212,31,130,29,"defaultGetStore"],[212,46,130,44],[212,47,130,45],[212,48,130,46],[212,50,130,48],[213,4,131,4],[213,11,131,11,"customStore"],[213,22,131,22],[213,23,131,23],[213,34,131,34],[213,36,131,37,"store"],[213,41,131,42],[213,45,131,47],[214,6,132,8,"store"],[214,11,132,13],[214,12,132,14,"clear"],[214,17,132,19],[214,18,132,20],[214,19,132,21],[215,6,133,8],[215,13,133,15,"promisifyRequest"],[215,29,133,31],[215,30,133,32,"store"],[215,35,133,37],[215,36,133,38,"transaction"],[215,47,133,49],[215,48,133,50],[216,4,134,4],[216,5,134,5],[216,6,134,6],[217,2,135,0],[218,2,136,0],[218,11,136,9,"eachCursor"],[218,21,136,19,"eachCursor"],[218,22,136,20,"store"],[218,27,136,25],[218,29,136,27,"callback"],[218,37,136,35],[218,39,136,37],[219,4,137,4,"store"],[219,9,137,9],[219,10,137,10,"openCursor"],[219,20,137,20],[219,21,137,21],[219,22,137,22],[219,23,137,23,"onsuccess"],[219,32,137,32],[219,35,137,35],[219,47,137,47],[220,6,138,8],[220,10,138,12],[220,11,138,13],[220,15,138,17],[220,16,138,18,"result"],[220,22,138,24],[220,24,139,12],[221,6,140,8,"callback"],[221,14,140,16],[221,15,140,17],[221,19,140,21],[221,20,140,22,"result"],[221,26,140,28],[221,27,140,29],[222,6,141,8],[222,10,141,12],[222,11,141,13,"result"],[222,17,141,19],[222,18,141,20,"continue"],[222,26,141,28],[222,27,141,29],[222,28,141,30],[223,4,142,4],[223,5,142,5],[224,4,143,4],[224,11,143,11,"promisifyRequest"],[224,27,143,27],[224,28,143,28,"store"],[224,33,143,33],[224,34,143,34,"transaction"],[224,45,143,45],[224,46,143,46],[225,2,144,0],[226,2,145,0],[227,0,146,0],[228,0,147,0],[229,0,148,0],[230,0,149,0],[231,2,150,0],[231,11,150,9,"keys"],[231,15,150,13,"keys"],[231,16,150,14,"customStore"],[231,27,150,25],[231,30,150,28,"defaultGetStore"],[231,45,150,43],[231,46,150,44],[231,47,150,45],[231,49,150,47],[232,4,151,4],[232,11,151,11,"customStore"],[232,22,151,22],[232,23,151,23],[232,33,151,33],[232,35,151,36,"store"],[232,40,151,41],[232,44,151,46],[233,6,152,8],[234,6,153,8],[234,10,153,12,"store"],[234,15,153,17],[234,16,153,18,"getAllKeys"],[234,26,153,28],[234,28,153,30],[235,8,154,12],[235,15,154,19,"promisifyRequest"],[235,31,154,35],[235,32,154,36,"store"],[235,37,154,41],[235,38,154,42,"getAllKeys"],[235,48,154,52],[235,49,154,53],[235,50,154,54],[235,51,154,55],[236,6,155,8],[237,6,156,8],[237,12,156,14,"items"],[237,17,156,19],[237,20,156,22],[237,22,156,24],[238,6,157,8],[238,13,157,15,"eachCursor"],[238,23,157,25],[238,24,157,26,"store"],[238,29,157,31],[238,31,157,34,"cursor"],[238,37,157,40],[238,41,157,45,"items"],[238,46,157,50],[238,47,157,51,"push"],[238,51,157,55],[238,52,157,56,"cursor"],[238,58,157,62],[238,59,157,63,"key"],[238,62,157,66],[238,63,157,67],[238,64,157,68],[238,65,157,69,"then"],[238,69,157,73],[238,70,157,74],[238,76,157,80,"items"],[238,81,157,85],[238,82,157,86],[239,4,158,4],[239,5,158,5],[239,6,158,6],[240,2,159,0],[241,2,160,0],[242,0,161,0],[243,0,162,0],[244,0,163,0],[245,0,164,0],[246,2,165,0],[246,11,165,9,"values"],[246,17,165,15,"values"],[246,18,165,16,"customStore"],[246,29,165,27],[246,32,165,30,"defaultGetStore"],[246,47,165,45],[246,48,165,46],[246,49,165,47],[246,51,165,49],[247,4,166,4],[247,11,166,11,"customStore"],[247,22,166,22],[247,23,166,23],[247,33,166,33],[247,35,166,36,"store"],[247,40,166,41],[247,44,166,46],[248,6,167,8],[249,6,168,8],[249,10,168,12,"store"],[249,15,168,17],[249,16,168,18,"getAll"],[249,22,168,24],[249,24,168,26],[250,8,169,12],[250,15,169,19,"promisifyRequest"],[250,31,169,35],[250,32,169,36,"store"],[250,37,169,41],[250,38,169,42,"getAll"],[250,44,169,48],[250,45,169,49],[250,46,169,50],[250,47,169,51],[251,6,170,8],[252,6,171,8],[252,12,171,14,"items"],[252,17,171,19],[252,20,171,22],[252,22,171,24],[253,6,172,8],[253,13,172,15,"eachCursor"],[253,23,172,25],[253,24,172,26,"store"],[253,29,172,31],[253,31,172,34,"cursor"],[253,37,172,40],[253,41,172,45,"items"],[253,46,172,50],[253,47,172,51,"push"],[253,51,172,55],[253,52,172,56,"cursor"],[253,58,172,62],[253,59,172,63,"value"],[253,64,172,68],[253,65,172,69],[253,66,172,70],[253,67,172,71,"then"],[253,71,172,75],[253,72,172,76],[253,78,172,82,"items"],[253,83,172,87],[253,84,172,88],[254,4,173,4],[254,5,173,5],[254,6,173,6],[255,2,174,0],[256,2,175,0],[257,0,176,0],[258,0,177,0],[259,0,178,0],[260,0,179,0],[261,2,180,0],[261,11,180,9,"entries"],[261,18,180,16,"entries"],[261,19,180,17,"customStore"],[261,30,180,28],[261,33,180,31,"defaultGetStore"],[261,48,180,46],[261,49,180,47],[261,50,180,48],[261,52,180,50],[262,4,181,4],[262,11,181,11,"customStore"],[262,22,181,22],[262,23,181,23],[262,33,181,33],[262,35,181,36,"store"],[262,40,181,41],[262,44,181,46],[263,6,182,8],[264,6,183,8],[265,6,184,8],[265,10,184,12,"store"],[265,15,184,17],[265,16,184,18,"getAll"],[265,22,184,24],[265,26,184,28,"store"],[265,31,184,33],[265,32,184,34,"getAllKeys"],[265,42,184,44],[265,44,184,46],[266,8,185,12],[266,15,185,19,"Promise"],[266,22,185,26],[266,23,185,27,"all"],[266,26,185,30],[266,27,185,31],[266,28,186,16,"promisifyRequest"],[266,44,186,32],[266,45,186,33,"store"],[266,50,186,38],[266,51,186,39,"getAllKeys"],[266,61,186,49],[266,62,186,50],[266,63,186,51],[266,64,186,52],[266,66,187,16,"promisifyRequest"],[266,82,187,32],[266,83,187,33,"store"],[266,88,187,38],[266,89,187,39,"getAll"],[266,95,187,45],[266,96,187,46],[266,97,187,47],[266,98,187,48],[266,99,188,13],[266,100,188,14],[266,101,188,15,"then"],[266,105,188,19],[266,106,188,20],[266,107,188,21],[266,108,188,22,"keys"],[266,112,188,26],[266,114,188,28,"values"],[266,120,188,34],[266,121,188,35],[266,126,188,40,"keys"],[266,130,188,44],[266,131,188,45,"map"],[266,134,188,48],[266,135,188,49],[266,136,188,50,"key"],[266,139,188,53],[266,141,188,55,"i"],[266,142,188,56],[266,147,188,61],[266,148,188,62,"key"],[266,151,188,65],[266,153,188,67,"values"],[266,159,188,73],[266,160,188,74,"i"],[266,161,188,75],[266,162,188,76],[266,163,188,77],[266,164,188,78],[266,165,188,79],[267,6,189,8],[268,6,190,8],[268,12,190,14,"items"],[268,17,190,19],[268,20,190,22],[268,22,190,24],[269,6,191,8],[269,13,191,15,"customStore"],[269,24,191,26],[269,25,191,27],[269,35,191,37],[269,37,191,40,"store"],[269,42,191,45],[269,46,191,50,"eachCursor"],[269,56,191,60],[269,57,191,61,"store"],[269,62,191,66],[269,64,191,69,"cursor"],[269,70,191,75],[269,74,191,80,"items"],[269,79,191,85],[269,80,191,86,"push"],[269,84,191,90],[269,85,191,91],[269,86,191,92,"cursor"],[269,92,191,98],[269,93,191,99,"key"],[269,96,191,102],[269,98,191,104,"cursor"],[269,104,191,110],[269,105,191,111,"value"],[269,110,191,116],[269,111,191,117],[269,112,191,118],[269,113,191,119],[269,114,191,120,"then"],[269,118,191,124],[269,119,191,125],[269,125,191,131,"items"],[269,130,191,136],[269,131,191,137],[269,132,191,138],[270,4,192,4],[270,5,192,5],[270,6,192,6],[271,2,193,0],[272,0,193,1],[272,3]],"functionMap":{"names":["promisifyRequest","Promise$argument_0","request.onsuccess","request.onerror","<global>","createStore","getDB","request.onupgradeneeded","dbp.then$argument_0","db.onclose","dbp.then$argument_1","<anonymous>","getDB.then$argument_0","defaultGetStore","get","customStore$argument_1","set","setMany","entries.forEach$argument_0","getMany","keys.map$argument_0","update","store.get.onsuccess","del","delMany","keys.forEach$argument_0","clear","eachCursor","store.openCursor.onsuccess","keys","eachCursor$argument_1","eachCursor.then$argument_0","values","entries","Promise.all.then$argument_0"],"mappings":"AAA;uBCC;iDCE,6BD;4CEE,2BF;KDC;CIC;ACC;kBCE;kCCI,iDD;iBEE;yBCG,uBD;SFC,EI,SJ;KDE;WMC,mCC,0ED,CN;CDC;ASE;CTK;AUO;mCCC,2CD;CVC;AYQ;oCDC;KCG;CZC;AaQ;oCFC;wBGC,wCH;KEE;CbC;AeO;mCJC,gCK,yCL,EI;CfC;AiBQ;oCNC;gBdI;mCqBC;SrBQ;KcC,CM;CjBC;AmBO;oCRC;KQG;CnBC;AoBO;oCTC;qBUC,0BV;KSE;CpBC;AsBM;oCXC;KWG;CtBC;AuBC;mCCC;KDK;CvBE;AyBM;mCdC;iCeM,kCf,OgB,WhB;KcC;CzBC;A4BM;mCjBC;iCeM,oCf,OgB,WhB;KiBC;C5BC;A6BM;mClBC;oBmBO,6Bd,4Bc,CnB;oEeG,kDf,OgB,WhB;KkBC;C7BC"},"hasCjsExports":false},"type":"js/module"}]} |