Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/47/6de43fa027f5add810e8c4ec8ebf2fb2a524c8f84b073f031a06c697b0d014d8ad8230
T
2025-11-08 10:46:19 +00:00

1 line
6.0 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 exports.lazyMethod = lazyMethod;\n exports.lazyMethods = lazyMethods;\n /**\n * @name lazyMethod\n * @description\n * Creates a lazy, on-demand getter for the specific value. Upon get the value will be evaluated.\n */\n function lazyMethod(result, item, creator, getName) {\n var index = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 0;\n var name = getName ? getName(item, index) : item.toString();\n var value;\n Object.defineProperty(result, name, {\n // This allows for re-configuration with the embedded defineProperty below\n // and ensures that on tested browsers and Node, it _will_ be redefined\n // and thus short-circuited for future access\n configurable: true,\n enumerable: true,\n // Use a function here, we don't want to capture the outer this, i.e.\n // don't use arrow functions in this context since we have a this inside\n get: function get() {\n // This check should _always_ be false and unneeded, since we override\n // with a value below ... however we ensure we are quire vigilant against\n // all environment failures, so we are rather be safe than sorry\n if (value === undefined) {\n value = creator(item, index, this);\n try {\n // re-define the property as a value, next time around this\n // getter will only return the computed value\n Object.defineProperty(this, name, {\n value: value\n });\n } catch (_unused) {\n // ignore any errors, since this _should_ not happen due to\n // the \"configurable\" property above. But if it ever does\n // from here-on we will be the cached value the next time\n // around (with a very slight dip in performance)\n }\n }\n return value;\n }\n });\n }\n /**\n * @name lazyMethods\n * @description\n * Creates lazy, on-demand getters for the specific values.\n */\n function lazyMethods(result, items, creator, getName) {\n for (var i = 0, count = items.length; i < count; i++) {\n lazyMethod(result, items[i], creator, getName, i);\n }\n return result;\n }\n});","lineCount":60,"map":[[7,2,6,0,"exports"],[7,9,6,0],[7,10,6,0,"lazyMethod"],[7,20,6,0],[7,23,6,0,"lazyMethod"],[7,33,6,0],[8,2,46,0,"exports"],[8,9,46,0],[8,10,46,0,"lazyMethods"],[8,21,46,0],[8,24,46,0,"lazyMethods"],[8,35,46,0],[9,2,1,0],[10,0,2,0],[11,0,3,0],[12,0,4,0],[13,0,5,0],[14,2,6,7],[14,11,6,16,"lazyMethod"],[14,21,6,26,"lazyMethod"],[14,22,6,27,"result"],[14,28,6,33],[14,30,6,35,"item"],[14,34,6,39],[14,36,6,41,"creator"],[14,43,6,48],[14,45,6,50,"getName"],[14,52,6,57],[14,54,6,70],[15,4,6,70],[15,8,6,59,"index"],[15,13,6,64],[15,16,6,64,"arguments"],[15,25,6,64],[15,26,6,64,"length"],[15,32,6,64],[15,40,6,64,"arguments"],[15,49,6,64],[15,57,6,64,"undefined"],[15,66,6,64],[15,69,6,64,"arguments"],[15,78,6,64],[15,84,6,67],[15,85,6,68],[16,4,7,4],[16,8,7,10,"name"],[16,12,7,14],[16,15,7,17,"getName"],[16,22,7,24],[16,25,8,10,"getName"],[16,32,8,17],[16,33,8,18,"item"],[16,37,8,22],[16,39,8,24,"index"],[16,44,8,29],[16,45,8,30],[16,48,9,10,"item"],[16,52,9,14],[16,53,9,15,"toString"],[16,61,9,23],[16,62,9,24],[16,63,9,25],[17,4,10,4],[17,8,10,8,"value"],[17,13,10,13],[18,4,11,4,"Object"],[18,10,11,10],[18,11,11,11,"defineProperty"],[18,25,11,25],[18,26,11,26,"result"],[18,32,11,32],[18,34,11,34,"name"],[18,38,11,38],[18,40,11,40],[19,6,12,8],[20,6,13,8],[21,6,14,8],[22,6,15,8,"configurable"],[22,18,15,20],[22,20,15,22],[22,24,15,26],[23,6,16,8,"enumerable"],[23,16,16,18],[23,18,16,20],[23,22,16,24],[24,6,17,8],[25,6,18,8],[26,6,19,8,"get"],[26,9,19,11],[26,11,19,13],[26,20,19,8,"get"],[26,23,19,11,"get"],[26,24,19,11],[26,26,19,25],[27,8,20,12],[28,8,21,12],[29,8,22,12],[30,8,23,12],[30,12,23,16,"value"],[30,17,23,21],[30,22,23,26,"undefined"],[30,31,23,35],[30,33,23,37],[31,10,24,16,"value"],[31,15,24,21],[31,18,24,24,"creator"],[31,25,24,31],[31,26,24,32,"item"],[31,30,24,36],[31,32,24,38,"index"],[31,37,24,43],[31,39,24,45],[31,43,24,49],[31,44,24,50],[32,10,25,16],[32,14,25,20],[33,12,26,20],[34,12,27,20],[35,12,28,20,"Object"],[35,18,28,26],[35,19,28,27,"defineProperty"],[35,33,28,41],[35,34,28,42],[35,38,28,46],[35,40,28,48,"name"],[35,44,28,52],[35,46,28,54],[36,14,28,56,"value"],[36,19,28,61],[36,21,28,56,"value"],[37,12,28,62],[37,13,28,63],[37,14,28,64],[38,10,29,16],[38,11,29,17],[38,12,30,16],[38,19,30,16,"_unused"],[38,26,30,16],[38,28,30,22],[39,12,31,20],[40,12,32,20],[41,12,33,20],[42,12,34,20],[43,10,34,20],[44,8,36,12],[45,8,37,12],[45,15,37,19,"value"],[45,20,37,24],[46,6,38,8],[47,4,39,4],[47,5,39,5],[47,6,39,6],[48,2,40,0],[49,2,41,0],[50,0,42,0],[51,0,43,0],[52,0,44,0],[53,0,45,0],[54,2,46,7],[54,11,46,16,"lazyMethods"],[54,22,46,27,"lazyMethods"],[54,23,46,28,"result"],[54,29,46,34],[54,31,46,36,"items"],[54,36,46,41],[54,38,46,43,"creator"],[54,45,46,50],[54,47,46,52,"getName"],[54,54,46,59],[54,56,46,61],[55,4,47,4],[55,9,47,9],[55,13,47,13,"i"],[55,14,47,14],[55,17,47,17],[55,18,47,18],[55,20,47,20,"count"],[55,25,47,25],[55,28,47,28,"items"],[55,33,47,33],[55,34,47,34,"length"],[55,40,47,40],[55,42,47,42,"i"],[55,43,47,43],[55,46,47,46,"count"],[55,51,47,51],[55,53,47,53,"i"],[55,54,47,54],[55,56,47,56],[55,58,47,58],[56,6,48,8,"lazyMethod"],[56,16,48,18],[56,17,48,19,"result"],[56,23,48,25],[56,25,48,27,"items"],[56,30,48,32],[56,31,48,33,"i"],[56,32,48,34],[56,33,48,35],[56,35,48,37,"creator"],[56,42,48,44],[56,44,48,46,"getName"],[56,51,48,53],[56,53,48,55,"i"],[56,54,48,56],[56,55,48,57],[57,4,49,4],[58,4,50,4],[58,11,50,11,"result"],[58,17,50,17],[59,2,51,0],[60,0,51,1],[60,3]],"functionMap":{"names":["<global>","lazyMethod","Object.defineProperty$argument_2.get","lazyMethods"],"mappings":"AAA;OCK;aCa;SDmB;CDE;OGM;CHK"},"hasCjsExports":false},"type":"js/module"}]}