Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/a3/0ee34fe2e69a86a5c89812a2db02dd6f7b7736856574e0decdd6b5f0e2c94dd3c96955
T
2025-11-08 10:46:19 +00:00

1 line
12 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.u8aToNumber = u8aToNumber;\n /**\n * @name u8aToNumber\n * @summary Creates a number from a Uint8Array object.\n */\n function u8aToNumber(value) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n _ref$isLe = _ref.isLe,\n isLe = _ref$isLe === void 0 ? true : _ref$isLe,\n _ref$isNegative = _ref.isNegative,\n isNegative = _ref$isNegative === void 0 ? false : _ref$isNegative;\n // slice + reverse is expensive, however SCALE is LE by default so this is the path\n // we are most interested in (the BE is added for the sake of being comprehensive)\n if (!isLe) {\n value = value.slice().reverse();\n }\n var count = value.length;\n // When the value is a i{8, 16, 24, 32, 40, 40} values and the top-most bit\n // indicates a signed value, we use a two's complement conversion. If one of these\n // flags are not set, we just do a normal unsigned conversion (the same shortcut\n // applies in both the u8aTo{BigInt, Bn} conversions as well)\n if (isNegative && count && value[count - 1] & 0x80) {\n switch (count) {\n case 0:\n return 0;\n case 1:\n return (value[0] ^ 0x000000ff) * -1 - 1;\n case 2:\n return (value[0] + (value[1] << 8) ^ 0x0000ffff) * -1 - 1;\n case 3:\n return (value[0] + (value[1] << 8) + (value[2] << 16) ^ 0x00ffffff) * -1 - 1;\n case 4:\n // for the 3rd byte, we don't << 24 - since JS converts all bitwise operators to\n // 32-bit, in the case where the top-most bit is set this yields a negative value\n return (value[0] + (value[1] << 8) + (value[2] << 16) + value[3] * 0x1000000 ^ 0xffffffff) * -1 - 1;\n case 5:\n return ((value[0] + (value[1] << 8) + (value[2] << 16) + value[3] * 0x1000000 ^ 0xffffffff) + (value[4] ^ 0xff) * 0x100000000) * -1 - 1;\n case 6:\n return ((value[0] + (value[1] << 8) + (value[2] << 16) + value[3] * 0x1000000 ^ 0xffffffff) + (value[4] + (value[5] << 8) ^ 0x0000ffff) * 0x100000000) * -1 - 1;\n default:\n throw new Error('Value more than 48-bits cannot be reliably converted');\n }\n }\n switch (count) {\n case 0:\n return 0;\n case 1:\n return value[0];\n case 2:\n return value[0] + (value[1] << 8);\n case 3:\n return value[0] + (value[1] << 8) + (value[2] << 16);\n case 4:\n // for the 3rd byte, we don't << 24 - since JS converts all bitwise operators to\n // 32-bit, in the case where the top-most bit is set this yields a negative value\n return value[0] + (value[1] << 8) + (value[2] << 16) + value[3] * 0x1000000;\n case 5:\n return value[0] + (value[1] << 8) + (value[2] << 16) + (value[3] + (value[4] << 8)) * 0x1000000;\n case 6:\n return value[0] + (value[1] << 8) + (value[2] << 16) + (value[3] + (value[4] << 8) + (value[5] << 16)) * 0x1000000;\n default:\n throw new Error('Value more than 48-bits cannot be reliably converted');\n }\n }\n});","lineCount":71,"map":[[7,2,5,0,"exports"],[7,9,5,0],[7,10,5,0,"u8aToNumber"],[7,21,5,0],[7,24,5,0,"u8aToNumber"],[7,35,5,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,2,5,7],[12,11,5,16,"u8aToNumber"],[12,22,5,27,"u8aToNumber"],[12,23,5,28,"value"],[12,28,5,33],[12,30,5,77],[13,4,5,77],[13,8,5,77,"_ref"],[13,12,5,77],[13,15,5,77,"arguments"],[13,24,5,77],[13,25,5,77,"length"],[13,31,5,77],[13,39,5,77,"arguments"],[13,48,5,77],[13,56,5,77,"undefined"],[13,65,5,77],[13,68,5,77,"arguments"],[13,77,5,77],[13,83,5,73],[13,84,5,74],[13,85,5,75],[14,6,5,75,"_ref$isLe"],[14,15,5,75],[14,18,5,75,"_ref"],[14,22,5,75],[14,23,5,37,"isLe"],[14,27,5,41],[15,6,5,37,"isLe"],[15,10,5,41],[15,13,5,41,"_ref$isLe"],[15,22,5,41],[15,36,5,44],[15,40,5,48],[15,43,5,48,"_ref$isLe"],[15,52,5,48],[16,6,5,48,"_ref$isNegative"],[16,21,5,48],[16,24,5,48,"_ref"],[16,28,5,48],[16,29,5,50,"isNegative"],[16,39,5,60],[17,6,5,50,"isNegative"],[17,16,5,60],[17,19,5,60,"_ref$isNegative"],[17,34,5,60],[17,48,5,63],[17,53,5,68],[17,56,5,68,"_ref$isNegative"],[17,71,5,68],[18,4,6,4],[19,4,7,4],[20,4,8,4],[20,8,8,8],[20,9,8,9,"isLe"],[20,13,8,13],[20,15,8,15],[21,6,9,8,"value"],[21,11,9,13],[21,14,9,16,"value"],[21,19,9,21],[21,20,9,22,"slice"],[21,25,9,27],[21,26,9,28],[21,27,9,29],[21,28,9,30,"reverse"],[21,35,9,37],[21,36,9,38],[21,37,9,39],[22,4,10,4],[23,4,11,4],[23,8,11,10,"count"],[23,13,11,15],[23,16,11,18,"value"],[23,21,11,23],[23,22,11,24,"length"],[23,28,11,30],[24,4,12,4],[25,4,13,4],[26,4,14,4],[27,4,15,4],[28,4,16,4],[28,8,16,8,"isNegative"],[28,18,16,18],[28,22,16,22,"count"],[28,27,16,27],[28,31,16,32,"value"],[28,36,16,37],[28,37,16,38,"count"],[28,42,16,43],[28,45,16,46],[28,46,16,47],[28,47,16,48],[28,50,16,51],[28,54,16,56],[28,56,16,58],[29,6,17,8],[29,14,17,16,"count"],[29,19,17,21],[30,8,18,12],[30,13,18,17],[30,14,18,18],[31,10,19,16],[31,17,19,23],[31,18,19,24],[32,8,20,12],[32,13,20,17],[32,14,20,18],[33,10,21,16],[33,17,21,25],[33,18,21,26,"value"],[33,23,21,31],[33,24,21,32],[33,25,21,33],[33,26,21,34],[33,29,21,37],[33,39,21,48],[33,43,21,52],[33,44,21,53],[33,45,21,54],[33,48,21,58],[33,49,21,59],[34,8,22,12],[34,13,22,17],[34,14,22,18],[35,10,23,16],[35,17,23,25],[35,18,23,27,"value"],[35,23,23,32],[35,24,23,33],[35,25,23,34],[35,26,23,35],[35,30,23,39,"value"],[35,35,23,44],[35,36,23,45],[35,37,23,46],[35,38,23,47],[35,42,23,51],[35,43,23,52],[35,44,23,53],[35,47,23,57],[35,57,23,68],[35,61,23,72],[35,62,23,73],[35,63,23,74],[35,66,23,78],[35,67,23,79],[36,8,24,12],[36,13,24,17],[36,14,24,18],[37,10,25,16],[37,17,25,25],[37,18,25,27,"value"],[37,23,25,32],[37,24,25,33],[37,25,25,34],[37,26,25,35],[37,30,25,39,"value"],[37,35,25,44],[37,36,25,45],[37,37,25,46],[37,38,25,47],[37,42,25,51],[37,43,25,52],[37,44,25,53],[37,48,25,57,"value"],[37,53,25,62],[37,54,25,63],[37,55,25,64],[37,56,25,65],[37,60,25,69],[37,62,25,71],[37,63,25,72],[37,66,25,76],[37,76,25,87],[37,80,25,91],[37,81,25,92],[37,82,25,93],[37,85,25,97],[37,86,25,98],[38,8,26,12],[38,13,26,17],[38,14,26,18],[39,10,27,16],[40,10,28,16],[41,10,29,16],[41,17,29,25],[41,18,29,27,"value"],[41,23,29,32],[41,24,29,33],[41,25,29,34],[41,26,29,35],[41,30,29,39,"value"],[41,35,29,44],[41,36,29,45],[41,37,29,46],[41,38,29,47],[41,42,29,51],[41,43,29,52],[41,44,29,53],[41,48,29,57,"value"],[41,53,29,62],[41,54,29,63],[41,55,29,64],[41,56,29,65],[41,60,29,69],[41,62,29,71],[41,63,29,72],[41,66,29,76,"value"],[41,71,29,81],[41,72,29,82],[41,73,29,83],[41,74,29,84],[41,77,29,87],[41,86,29,100],[41,89,29,104],[41,99,29,115],[41,103,29,119],[41,104,29,120],[41,105,29,121],[41,108,29,125],[41,109,29,126],[42,8,30,12],[42,13,30,17],[42,14,30,18],[43,10,31,16],[43,17,31,25],[43,18,31,26],[43,19,31,28,"value"],[43,24,31,33],[43,25,31,34],[43,26,31,35],[43,27,31,36],[43,31,31,40,"value"],[43,36,31,45],[43,37,31,46],[43,38,31,47],[43,39,31,48],[43,43,31,52],[43,44,31,53],[43,45,31,54],[43,49,31,58,"value"],[43,54,31,63],[43,55,31,64],[43,56,31,65],[43,57,31,66],[43,61,31,70],[43,63,31,72],[43,64,31,73],[43,67,31,77,"value"],[43,72,31,82],[43,73,31,83],[43,74,31,84],[43,75,31,85],[43,78,31,88],[43,87,31,101],[43,90,31,105],[43,100,31,116],[43,104,31,121],[43,105,31,122,"value"],[43,110,31,127],[43,111,31,128],[43,112,31,129],[43,113,31,130],[43,116,31,133],[43,120,31,137],[43,124,31,141],[43,135,31,157],[43,139,31,161],[43,140,31,162],[43,141,31,163],[43,144,31,167],[43,145,31,168],[44,8,32,12],[44,13,32,17],[44,14,32,18],[45,10,33,16],[45,17,33,25],[45,18,33,26],[45,19,33,28,"value"],[45,24,33,33],[45,25,33,34],[45,26,33,35],[45,27,33,36],[45,31,33,40,"value"],[45,36,33,45],[45,37,33,46],[45,38,33,47],[45,39,33,48],[45,43,33,52],[45,44,33,53],[45,45,33,54],[45,49,33,58,"value"],[45,54,33,63],[45,55,33,64],[45,56,33,65],[45,57,33,66],[45,61,33,70],[45,63,33,72],[45,64,33,73],[45,67,33,77,"value"],[45,72,33,82],[45,73,33,83],[45,74,33,84],[45,75,33,85],[45,78,33,88],[45,87,33,101],[45,90,33,105],[45,100,33,116],[45,104,33,121],[45,105,33,123,"value"],[45,110,33,128],[45,111,33,129],[45,112,33,130],[45,113,33,131],[45,117,33,135,"value"],[45,122,33,140],[45,123,33,141],[45,124,33,142],[45,125,33,143],[45,129,33,147],[45,130,33,148],[45,131,33,149],[45,134,33,153],[45,144,33,164],[45,148,33,168],[45,159,33,184],[45,163,33,188],[45,164,33,189],[45,165,33,190],[45,168,33,194],[45,169,33,195],[46,8,34,12],[47,10,35,16],[47,16,35,22],[47,20,35,26,"Error"],[47,25,35,31],[47,26,35,32],[47,80,35,86],[47,81,35,87],[48,6,36,8],[49,4,37,4],[50,4,38,4],[50,12,38,12,"count"],[50,17,38,17],[51,6,39,8],[51,11,39,13],[51,12,39,14],[52,8,40,12],[52,15,40,19],[52,16,40,20],[53,6,41,8],[53,11,41,13],[53,12,41,14],[54,8,42,12],[54,15,42,19,"value"],[54,20,42,24],[54,21,42,25],[54,22,42,26],[54,23,42,27],[55,6,43,8],[55,11,43,13],[55,12,43,14],[56,8,44,12],[56,15,44,19,"value"],[56,20,44,24],[56,21,44,25],[56,22,44,26],[56,23,44,27],[56,27,44,31,"value"],[56,32,44,36],[56,33,44,37],[56,34,44,38],[56,35,44,39],[56,39,44,43],[56,40,44,44],[56,41,44,45],[57,6,45,8],[57,11,45,13],[57,12,45,14],[58,8,46,12],[58,15,46,19,"value"],[58,20,46,24],[58,21,46,25],[58,22,46,26],[58,23,46,27],[58,27,46,31,"value"],[58,32,46,36],[58,33,46,37],[58,34,46,38],[58,35,46,39],[58,39,46,43],[58,40,46,44],[58,41,46,45],[58,45,46,49,"value"],[58,50,46,54],[58,51,46,55],[58,52,46,56],[58,53,46,57],[58,57,46,61],[58,59,46,63],[58,60,46,64],[59,6,47,8],[59,11,47,13],[59,12,47,14],[60,8,48,12],[61,8,49,12],[62,8,50,12],[62,15,50,19,"value"],[62,20,50,24],[62,21,50,25],[62,22,50,26],[62,23,50,27],[62,27,50,31,"value"],[62,32,50,36],[62,33,50,37],[62,34,50,38],[62,35,50,39],[62,39,50,43],[62,40,50,44],[62,41,50,45],[62,45,50,49,"value"],[62,50,50,54],[62,51,50,55],[62,52,50,56],[62,53,50,57],[62,57,50,61],[62,59,50,63],[62,60,50,64],[62,63,50,68,"value"],[62,68,50,73],[62,69,50,74],[62,70,50,75],[62,71,50,76],[62,74,50,79],[62,83,50,92],[63,6,51,8],[63,11,51,13],[63,12,51,14],[64,8,52,12],[64,15,52,19,"value"],[64,20,52,24],[64,21,52,25],[64,22,52,26],[64,23,52,27],[64,27,52,31,"value"],[64,32,52,36],[64,33,52,37],[64,34,52,38],[64,35,52,39],[64,39,52,43],[64,40,52,44],[64,41,52,45],[64,45,52,49,"value"],[64,50,52,54],[64,51,52,55],[64,52,52,56],[64,53,52,57],[64,57,52,61],[64,59,52,63],[64,60,52,64],[64,63,52,68],[64,64,52,69,"value"],[64,69,52,74],[64,70,52,75],[64,71,52,76],[64,72,52,77],[64,76,52,81,"value"],[64,81,52,86],[64,82,52,87],[64,83,52,88],[64,84,52,89],[64,88,52,93],[64,89,52,94],[64,90,52,95],[64,94,52,99],[64,103,52,112],[65,6,53,8],[65,11,53,13],[65,12,53,14],[66,8,54,12],[66,15,54,19,"value"],[66,20,54,24],[66,21,54,25],[66,22,54,26],[66,23,54,27],[66,27,54,31,"value"],[66,32,54,36],[66,33,54,37],[66,34,54,38],[66,35,54,39],[66,39,54,43],[66,40,54,44],[66,41,54,45],[66,45,54,49,"value"],[66,50,54,54],[66,51,54,55],[66,52,54,56],[66,53,54,57],[66,57,54,61],[66,59,54,63],[66,60,54,64],[66,63,54,68],[66,64,54,69,"value"],[66,69,54,74],[66,70,54,75],[66,71,54,76],[66,72,54,77],[66,76,54,81,"value"],[66,81,54,86],[66,82,54,87],[66,83,54,88],[66,84,54,89],[66,88,54,93],[66,89,54,94],[66,90,54,95],[66,94,54,99,"value"],[66,99,54,104],[66,100,54,105],[66,101,54,106],[66,102,54,107],[66,106,54,111],[66,108,54,113],[66,109,54,114],[66,113,54,118],[66,122,54,131],[67,6,55,8],[68,8,56,12],[68,14,56,18],[68,18,56,22,"Error"],[68,23,56,27],[68,24,56,28],[68,78,56,82],[68,79,56,83],[69,4,57,4],[70,2,58,0],[71,0,58,1],[71,3]],"functionMap":{"names":["<global>","u8aToNumber"],"mappings":"AAA;OCI;CDqD"},"hasCjsExports":false},"type":"js/module"}]}