mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 12:21:01 +00:00
1 line
2.3 KiB
Plaintext
1 line
2.3 KiB
Plaintext
{"dependencies":[{"name":"./utils","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":1,"column":22,"index":22},"end":{"line":1,"column":40,"index":40}}],"key":"Arg6QRuIuy5D/jfcnxX1qJiHjX8=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n const getSymbolSize = require(_dependencyMap[0], \"./utils\").getSymbolSize;\n const FINDER_PATTERN_SIZE = 7;\n\n /**\n * Returns an array containing the positions of each finder pattern.\n * Each array's element represent the top-left point of the pattern as (x, y) coordinates\n *\n * @param {Number} version QR Code version\n * @return {Array} Array of coordinates\n */\n exports.getPositions = function getPositions(version) {\n const size = getSymbolSize(version);\n return [\n // top-left\n [0, 0],\n // top-right\n [size - FINDER_PATTERN_SIZE, 0],\n // bottom-left\n [0, size - FINDER_PATTERN_SIZE]];\n };\n});","lineCount":22,"map":[[2,2,1,0],[2,8,1,6,"getSymbolSize"],[2,21,1,19],[2,24,1,22,"require"],[2,31,1,29],[2,32,1,29,"_dependencyMap"],[2,46,1,29],[2,60,1,39],[2,61,1,40],[2,62,1,41,"getSymbolSize"],[2,75,1,54],[3,2,2,0],[3,8,2,6,"FINDER_PATTERN_SIZE"],[3,27,2,25],[3,30,2,28],[3,31,2,29],[5,2,4,0],[6,0,5,0],[7,0,6,0],[8,0,7,0],[9,0,8,0],[10,0,9,0],[11,0,10,0],[12,2,11,0,"exports"],[12,9,11,7],[12,10,11,8,"getPositions"],[12,22,11,20],[12,25,11,23],[12,34,11,32,"getPositions"],[12,46,11,44,"getPositions"],[12,47,11,46,"version"],[12,54,11,53],[12,56,11,55],[13,4,12,2],[13,10,12,8,"size"],[13,14,12,12],[13,17,12,15,"getSymbolSize"],[13,30,12,28],[13,31,12,29,"version"],[13,38,12,36],[13,39,12,37],[14,4,14,2],[14,11,14,9],[15,4,15,4],[16,4,16,4],[16,5,16,5],[16,6,16,6],[16,8,16,8],[16,9,16,9],[16,10,16,10],[17,4,17,4],[18,4,18,4],[18,5,18,5,"size"],[18,9,18,9],[18,12,18,12,"FINDER_PATTERN_SIZE"],[18,31,18,31],[18,33,18,33],[18,34,18,34],[18,35,18,35],[19,4,19,4],[20,4,20,4],[20,5,20,5],[20,6,20,6],[20,8,20,8,"size"],[20,12,20,12],[20,15,20,15,"FINDER_PATTERN_SIZE"],[20,34,20,34],[20,35,20,35],[20,36,21,3],[21,2,22,0],[21,3,22,1],[22,0,22,1],[22,3]],"functionMap":{"names":["<global>","getPositions"],"mappings":"AAA;uBCU;CDW"},"hasCjsExports":true},"type":"js/module"}]} |