mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
3.5 KiB
Plaintext
1 line
3.5 KiB
Plaintext
{"dependencies":[{"name":"./DeriveJunction.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":28,"index":146},"end":{"line":4,"column":58,"index":176}}],"key":"u7hy5YvS5z1OEyLGfpt1N8plAvo=","exportNames":["*"],"imports":1}}],"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.keyExtractPath = keyExtractPath;\n const DeriveJunction_js_1 = require(_dependencyMap[0], \"./DeriveJunction.js\");\n const RE_JUNCTION = /\\/(\\/?)([^/]+)/g;\n /**\n * @description Extract derivation junctions from the supplied path\n */\n function keyExtractPath(derivePath) {\n const parts = derivePath.match(RE_JUNCTION);\n const path = [];\n let constructed = '';\n if (parts) {\n constructed = parts.join('');\n for (const p of parts) {\n path.push(DeriveJunction_js_1.DeriveJunction.from(p.substring(1)));\n }\n }\n if (constructed !== derivePath) {\n throw new Error(`Re-constructed path \"${constructed}\" does not match input`);\n }\n return {\n parts,\n path\n };\n }\n});","lineCount":31,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"keyExtractPath"],[7,24,3,22],[7,27,3,25,"keyExtractPath"],[7,41,3,39],[8,2,4,0],[8,8,4,6,"DeriveJunction_js_1"],[8,27,4,25],[8,30,4,28,"require"],[8,37,4,35],[8,38,4,35,"_dependencyMap"],[8,52,4,35],[8,78,4,57],[8,79,4,58],[9,2,5,0],[9,8,5,6,"RE_JUNCTION"],[9,19,5,17],[9,22,5,20],[9,39,5,37],[10,2,6,0],[11,0,7,0],[12,0,8,0],[13,2,9,0],[13,11,9,9,"keyExtractPath"],[13,25,9,23,"keyExtractPath"],[13,26,9,24,"derivePath"],[13,36,9,34],[13,38,9,36],[14,4,10,4],[14,10,10,10,"parts"],[14,15,10,15],[14,18,10,18,"derivePath"],[14,28,10,28],[14,29,10,29,"match"],[14,34,10,34],[14,35,10,35,"RE_JUNCTION"],[14,46,10,46],[14,47,10,47],[15,4,11,4],[15,10,11,10,"path"],[15,14,11,14],[15,17,11,17],[15,19,11,19],[16,4,12,4],[16,8,12,8,"constructed"],[16,19,12,19],[16,22,12,22],[16,24,12,24],[17,4,13,4],[17,8,13,8,"parts"],[17,13,13,13],[17,15,13,15],[18,6,14,8,"constructed"],[18,17,14,19],[18,20,14,22,"parts"],[18,25,14,27],[18,26,14,28,"join"],[18,30,14,32],[18,31,14,33],[18,33,14,35],[18,34,14,36],[19,6,15,8],[19,11,15,13],[19,17,15,19,"p"],[19,18,15,20],[19,22,15,24,"parts"],[19,27,15,29],[19,29,15,31],[20,8,16,12,"path"],[20,12,16,16],[20,13,16,17,"push"],[20,17,16,21],[20,18,16,22,"DeriveJunction_js_1"],[20,37,16,41],[20,38,16,42,"DeriveJunction"],[20,52,16,56],[20,53,16,57,"from"],[20,57,16,61],[20,58,16,62,"p"],[20,59,16,63],[20,60,16,64,"substring"],[20,69,16,73],[20,70,16,74],[20,71,16,75],[20,72,16,76],[20,73,16,77],[20,74,16,78],[21,6,17,8],[22,4,18,4],[23,4,19,4],[23,8,19,8,"constructed"],[23,19,19,19],[23,24,19,24,"derivePath"],[23,34,19,34],[23,36,19,36],[24,6,20,8],[24,12,20,14],[24,16,20,18,"Error"],[24,21,20,23],[24,22,20,24],[24,46,20,48,"constructed"],[24,57,20,59],[24,81,20,83],[24,82,20,84],[25,4,21,4],[26,4,22,4],[26,11,22,11],[27,6,23,8,"parts"],[27,11,23,13],[28,6,24,8,"path"],[29,4,25,4],[29,5,25,5],[30,2,26,0],[31,0,26,1],[31,3]],"functionMap":{"names":["<global>","keyExtractPath"],"mappings":"AAA;ACQ;CDiB"},"hasCjsExports":true},"type":"js/module"}]} |