mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 14:31:02 +00:00
1 line
20 KiB
Plaintext
1 line
20 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":9,"column":15,"index":322},"end":{"line":9,"column":40,"index":347}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","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.compareRationals = compareRationals;\n exports.calcPassing = calcPassing;\n exports.calcVotes = calcVotes;\n exports.getStatus = getStatus;\n exports.getImageHashBounded = getImageHashBounded;\n exports.getImageHash = getImageHash;\n var util_1 = require(_dependencyMap[0], \"@polkadot/util\");\n function isOldInfo(info) {\n return !!info.proposalHash;\n }\n function isCurrentStatus(status) {\n return !!status.tally;\n }\n function compareRationals(n1, d1, n2, d2) {\n while (true) {\n var q1 = n1.div(d1);\n var q2 = n2.div(d2);\n if (q1.lt(q2)) {\n return true;\n } else if (q2.lt(q1)) {\n return false;\n }\n var r1 = n1.mod(d1);\n var r2 = n2.mod(d2);\n if (r2.isZero()) {\n return false;\n } else if (r1.isZero()) {\n return true;\n }\n n1 = d2;\n n2 = d1;\n d1 = r2;\n d2 = r1;\n }\n }\n function calcPassingOther(threshold, sqrtElectorate, _ref) {\n var votedAye = _ref.votedAye,\n votedNay = _ref.votedNay,\n votedTotal = _ref.votedTotal;\n var sqrtVoters = (0, util_1.bnSqrt)(votedTotal);\n return sqrtVoters.isZero() ? false : threshold.isSuperMajorityApprove ? compareRationals(votedNay, sqrtVoters, votedAye, sqrtElectorate) : compareRationals(votedNay, sqrtElectorate, votedAye, sqrtVoters);\n }\n function calcPassing(threshold, sqrtElectorate, state) {\n return threshold.isSimpleMajority ? state.votedAye.gt(state.votedNay) : calcPassingOther(threshold, sqrtElectorate, state);\n }\n function calcVotesPrev(votesFor) {\n return votesFor.reduce(function (state, derived) {\n var balance = derived.balance,\n vote = derived.vote;\n var isDefault = vote.conviction.index === 0;\n var counted = balance.muln(isDefault ? 1 : vote.conviction.index).divn(isDefault ? 10 : 1);\n if (vote.isAye) {\n state.allAye.push(derived);\n state.voteCountAye++;\n state.votedAye.iadd(counted);\n } else {\n state.allNay.push(derived);\n state.voteCountNay++;\n state.votedNay.iadd(counted);\n }\n state.voteCount++;\n state.votedTotal.iadd(counted);\n return state;\n }, {\n allAye: [],\n allNay: [],\n voteCount: 0,\n voteCountAye: 0,\n voteCountNay: 0,\n votedAye: new util_1.BN(0),\n votedNay: new util_1.BN(0),\n votedTotal: new util_1.BN(0)\n });\n }\n function calcVotesCurrent(tally, votes) {\n var allAye = [];\n var allNay = [];\n votes.forEach(function (derived) {\n if (derived.vote.isAye) {\n allAye.push(derived);\n } else {\n allNay.push(derived);\n }\n });\n return {\n allAye: allAye,\n allNay: allNay,\n voteCount: allAye.length + allNay.length,\n voteCountAye: allAye.length,\n voteCountNay: allNay.length,\n votedAye: tally.ayes,\n votedNay: tally.nays,\n votedTotal: tally.turnout\n };\n }\n function calcVotes(sqrtElectorate, referendum, votes) {\n var state = isCurrentStatus(referendum.status) ? calcVotesCurrent(referendum.status.tally, votes) : calcVotesPrev(votes);\n return (0, util_1.objectSpread)({}, state, {\n isPassing: calcPassing(referendum.status.threshold, sqrtElectorate, state),\n votes: votes\n });\n }\n function getStatus(info) {\n if (info.isNone) {\n return null;\n }\n var unwrapped = info.unwrap();\n return isOldInfo(unwrapped) ? unwrapped : unwrapped.isOngoing ? unwrapped.asOngoing\n // done, we don't include it here... only currently active\n : null;\n }\n function getImageHashBounded(hash) {\n return hash.isLegacy ? hash.asLegacy.hash_.toHex() : hash.isLookup ? hash.asLookup.hash_.toHex()\n // for inline, use the actual Bytes hash\n : hash.isInline ? hash.asInline.hash.toHex() : (0, util_1.isString)(hash) ? (0, util_1.isHex)(hash) ? hash : (0, util_1.stringToHex)(hash) : (0, util_1.isU8a)(hash) ? (0, util_1.u8aToHex)(hash) : hash.toHex();\n }\n function getImageHash(status) {\n return getImageHashBounded(status.proposal || status.proposalHash);\n }\n});","lineCount":126,"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,"compareRationals"],[7,26,3,24],[7,29,3,27,"compareRationals"],[7,45,3,43],[8,2,4,0,"exports"],[8,9,4,7],[8,10,4,8,"calcPassing"],[8,21,4,19],[8,24,4,22,"calcPassing"],[8,35,4,33],[9,2,5,0,"exports"],[9,9,5,7],[9,10,5,8,"calcVotes"],[9,19,5,17],[9,22,5,20,"calcVotes"],[9,31,5,29],[10,2,6,0,"exports"],[10,9,6,7],[10,10,6,8,"getStatus"],[10,19,6,17],[10,22,6,20,"getStatus"],[10,31,6,29],[11,2,7,0,"exports"],[11,9,7,7],[11,10,7,8,"getImageHashBounded"],[11,29,7,27],[11,32,7,30,"getImageHashBounded"],[11,51,7,49],[12,2,8,0,"exports"],[12,9,8,7],[12,10,8,8,"getImageHash"],[12,22,8,20],[12,25,8,23,"getImageHash"],[12,37,8,35],[13,2,9,0],[13,6,9,6,"util_1"],[13,12,9,12],[13,15,9,15,"require"],[13,22,9,22],[13,23,9,22,"_dependencyMap"],[13,37,9,22],[13,58,9,39],[13,59,9,40],[14,2,10,0],[14,11,10,9,"isOldInfo"],[14,20,10,18,"isOldInfo"],[14,21,10,19,"info"],[14,25,10,23],[14,27,10,25],[15,4,11,4],[15,11,11,11],[15,12,11,12],[15,13,11,13,"info"],[15,17,11,17],[15,18,11,18,"proposalHash"],[15,30,11,30],[16,2,12,0],[17,2,13,0],[17,11,13,9,"isCurrentStatus"],[17,26,13,24,"isCurrentStatus"],[17,27,13,25,"status"],[17,33,13,31],[17,35,13,33],[18,4,14,4],[18,11,14,11],[18,12,14,12],[18,13,14,13,"status"],[18,19,14,19],[18,20,14,20,"tally"],[18,25,14,25],[19,2,15,0],[20,2,16,0],[20,11,16,9,"compareRationals"],[20,27,16,25,"compareRationals"],[20,28,16,26,"n1"],[20,30,16,28],[20,32,16,30,"d1"],[20,34,16,32],[20,36,16,34,"n2"],[20,38,16,36],[20,40,16,38,"d2"],[20,42,16,40],[20,44,16,42],[21,4,17,4],[21,11,17,11],[21,15,17,15],[21,17,17,17],[22,6,18,8],[22,10,18,14,"q1"],[22,12,18,16],[22,15,18,19,"n1"],[22,17,18,21],[22,18,18,22,"div"],[22,21,18,25],[22,22,18,26,"d1"],[22,24,18,28],[22,25,18,29],[23,6,19,8],[23,10,19,14,"q2"],[23,12,19,16],[23,15,19,19,"n2"],[23,17,19,21],[23,18,19,22,"div"],[23,21,19,25],[23,22,19,26,"d2"],[23,24,19,28],[23,25,19,29],[24,6,20,8],[24,10,20,12,"q1"],[24,12,20,14],[24,13,20,15,"lt"],[24,15,20,17],[24,16,20,18,"q2"],[24,18,20,20],[24,19,20,21],[24,21,20,23],[25,8,21,12],[25,15,21,19],[25,19,21,23],[26,6,22,8],[26,7,22,9],[26,13,23,13],[26,17,23,17,"q2"],[26,19,23,19],[26,20,23,20,"lt"],[26,22,23,22],[26,23,23,23,"q1"],[26,25,23,25],[26,26,23,26],[26,28,23,28],[27,8,24,12],[27,15,24,19],[27,20,24,24],[28,6,25,8],[29,6,26,8],[29,10,26,14,"r1"],[29,12,26,16],[29,15,26,19,"n1"],[29,17,26,21],[29,18,26,22,"mod"],[29,21,26,25],[29,22,26,26,"d1"],[29,24,26,28],[29,25,26,29],[30,6,27,8],[30,10,27,14,"r2"],[30,12,27,16],[30,15,27,19,"n2"],[30,17,27,21],[30,18,27,22,"mod"],[30,21,27,25],[30,22,27,26,"d2"],[30,24,27,28],[30,25,27,29],[31,6,28,8],[31,10,28,12,"r2"],[31,12,28,14],[31,13,28,15,"isZero"],[31,19,28,21],[31,20,28,22],[31,21,28,23],[31,23,28,25],[32,8,29,12],[32,15,29,19],[32,20,29,24],[33,6,30,8],[33,7,30,9],[33,13,31,13],[33,17,31,17,"r1"],[33,19,31,19],[33,20,31,20,"isZero"],[33,26,31,26],[33,27,31,27],[33,28,31,28],[33,30,31,30],[34,8,32,12],[34,15,32,19],[34,19,32,23],[35,6,33,8],[36,6,34,8,"n1"],[36,8,34,10],[36,11,34,13,"d2"],[36,13,34,15],[37,6,35,8,"n2"],[37,8,35,10],[37,11,35,13,"d1"],[37,13,35,15],[38,6,36,8,"d1"],[38,8,36,10],[38,11,36,13,"r2"],[38,13,36,15],[39,6,37,8,"d2"],[39,8,37,10],[39,11,37,13,"r1"],[39,13,37,15],[40,4,38,4],[41,2,39,0],[42,2,40,0],[42,11,40,9,"calcPassingOther"],[42,27,40,25,"calcPassingOther"],[42,28,40,26,"threshold"],[42,37,40,35],[42,39,40,37,"sqrtElectorate"],[42,53,40,51],[42,55,40,51,"_ref"],[42,59,40,51],[42,61,40,89],[43,4,40,89],[43,8,40,55,"votedAye"],[43,16,40,63],[43,19,40,63,"_ref"],[43,23,40,63],[43,24,40,55,"votedAye"],[43,32,40,63],[44,6,40,65,"votedNay"],[44,14,40,73],[44,17,40,73,"_ref"],[44,21,40,73],[44,22,40,65,"votedNay"],[44,30,40,73],[45,6,40,75,"votedTotal"],[45,16,40,85],[45,19,40,85,"_ref"],[45,23,40,85],[45,24,40,75,"votedTotal"],[45,34,40,85],[46,4,41,4],[46,8,41,10,"sqrtVoters"],[46,18,41,20],[46,21,41,23],[46,22,41,24],[46,23,41,25],[46,25,41,27,"util_1"],[46,31,41,33],[46,32,41,34,"bnSqrt"],[46,38,41,40],[46,40,41,42,"votedTotal"],[46,50,41,52],[46,51,41,53],[47,4,42,4],[47,11,42,11,"sqrtVoters"],[47,21,42,21],[47,22,42,22,"isZero"],[47,28,42,28],[47,29,42,29],[47,30,42,30],[47,33,43,10],[47,38,43,15],[47,41,44,10,"threshold"],[47,50,44,19],[47,51,44,20,"isSuperMajorityApprove"],[47,73,44,42],[47,76,45,14,"compareRationals"],[47,92,45,30],[47,93,45,31,"votedNay"],[47,101,45,39],[47,103,45,41,"sqrtVoters"],[47,113,45,51],[47,115,45,53,"votedAye"],[47,123,45,61],[47,125,45,63,"sqrtElectorate"],[47,139,45,77],[47,140,45,78],[47,143,46,14,"compareRationals"],[47,159,46,30],[47,160,46,31,"votedNay"],[47,168,46,39],[47,170,46,41,"sqrtElectorate"],[47,184,46,55],[47,186,46,57,"votedAye"],[47,194,46,65],[47,196,46,67,"sqrtVoters"],[47,206,46,77],[47,207,46,78],[48,2,47,0],[49,2,48,0],[49,11,48,9,"calcPassing"],[49,22,48,20,"calcPassing"],[49,23,48,21,"threshold"],[49,32,48,30],[49,34,48,32,"sqrtElectorate"],[49,48,48,46],[49,50,48,48,"state"],[49,55,48,53],[49,57,48,55],[50,4,49,4],[50,11,49,11,"threshold"],[50,20,49,20],[50,21,49,21,"isSimpleMajority"],[50,37,49,37],[50,40,50,10,"state"],[50,45,50,15],[50,46,50,16,"votedAye"],[50,54,50,24],[50,55,50,25,"gt"],[50,57,50,27],[50,58,50,28,"state"],[50,63,50,33],[50,64,50,34,"votedNay"],[50,72,50,42],[50,73,50,43],[50,76,51,10,"calcPassingOther"],[50,92,51,26],[50,93,51,27,"threshold"],[50,102,51,36],[50,104,51,38,"sqrtElectorate"],[50,118,51,52],[50,120,51,54,"state"],[50,125,51,59],[50,126,51,60],[51,2,52,0],[52,2,53,0],[52,11,53,9,"calcVotesPrev"],[52,24,53,22,"calcVotesPrev"],[52,25,53,23,"votesFor"],[52,33,53,31],[52,35,53,33],[53,4,54,4],[53,11,54,11,"votesFor"],[53,19,54,19],[53,20,54,20,"reduce"],[53,26,54,26],[53,27,54,27],[53,37,54,28,"state"],[53,42,54,33],[53,44,54,35,"derived"],[53,51,54,42],[53,53,54,47],[54,6,55,8],[54,10,55,16,"balance"],[54,17,55,23],[54,20,55,34,"derived"],[54,27,55,41],[54,28,55,16,"balance"],[54,35,55,23],[55,8,55,25,"vote"],[55,12,55,29],[55,15,55,34,"derived"],[55,22,55,41],[55,23,55,25,"vote"],[55,27,55,29],[56,6,56,8],[56,10,56,14,"isDefault"],[56,19,56,23],[56,22,56,26,"vote"],[56,26,56,30],[56,27,56,31,"conviction"],[56,37,56,41],[56,38,56,42,"index"],[56,43,56,47],[56,48,56,52],[56,49,56,53],[57,6,57,8],[57,10,57,14,"counted"],[57,17,57,21],[57,20,57,24,"balance"],[57,27,57,31],[57,28,58,13,"muln"],[57,32,58,17],[57,33,58,18,"isDefault"],[57,42,58,27],[57,45,58,30],[57,46,58,31],[57,49,58,34,"vote"],[57,53,58,38],[57,54,58,39,"conviction"],[57,64,58,49],[57,65,58,50,"index"],[57,70,58,55],[57,71,58,56],[57,72,59,13,"divn"],[57,76,59,17],[57,77,59,18,"isDefault"],[57,86,59,27],[57,89,59,30],[57,91,59,32],[57,94,59,35],[57,95,59,36],[57,96,59,37],[58,6,60,8],[58,10,60,12,"vote"],[58,14,60,16],[58,15,60,17,"isAye"],[58,20,60,22],[58,22,60,24],[59,8,61,12,"state"],[59,13,61,17],[59,14,61,18,"allAye"],[59,20,61,24],[59,21,61,25,"push"],[59,25,61,29],[59,26,61,30,"derived"],[59,33,61,37],[59,34,61,38],[60,8,62,12,"state"],[60,13,62,17],[60,14,62,18,"voteCountAye"],[60,26,62,30],[60,28,62,32],[61,8,63,12,"state"],[61,13,63,17],[61,14,63,18,"votedAye"],[61,22,63,26],[61,23,63,27,"iadd"],[61,27,63,31],[61,28,63,32,"counted"],[61,35,63,39],[61,36,63,40],[62,6,64,8],[62,7,64,9],[62,13,65,13],[63,8,66,12,"state"],[63,13,66,17],[63,14,66,18,"allNay"],[63,20,66,24],[63,21,66,25,"push"],[63,25,66,29],[63,26,66,30,"derived"],[63,33,66,37],[63,34,66,38],[64,8,67,12,"state"],[64,13,67,17],[64,14,67,18,"voteCountNay"],[64,26,67,30],[64,28,67,32],[65,8,68,12,"state"],[65,13,68,17],[65,14,68,18,"votedNay"],[65,22,68,26],[65,23,68,27,"iadd"],[65,27,68,31],[65,28,68,32,"counted"],[65,35,68,39],[65,36,68,40],[66,6,69,8],[67,6,70,8,"state"],[67,11,70,13],[67,12,70,14,"voteCount"],[67,21,70,23],[67,23,70,25],[68,6,71,8,"state"],[68,11,71,13],[68,12,71,14,"votedTotal"],[68,22,71,24],[68,23,71,25,"iadd"],[68,27,71,29],[68,28,71,30,"counted"],[68,35,71,37],[68,36,71,38],[69,6,72,8],[69,13,72,15,"state"],[69,18,72,20],[70,4,73,4],[70,5,73,5],[70,7,73,7],[71,6,73,9,"allAye"],[71,12,73,15],[71,14,73,17],[71,16,73,19],[72,6,73,21,"allNay"],[72,12,73,27],[72,14,73,29],[72,16,73,31],[73,6,73,33,"voteCount"],[73,15,73,42],[73,17,73,44],[73,18,73,45],[74,6,73,47,"voteCountAye"],[74,18,73,59],[74,20,73,61],[74,21,73,62],[75,6,73,64,"voteCountNay"],[75,18,73,76],[75,20,73,78],[75,21,73,79],[76,6,73,81,"votedAye"],[76,14,73,89],[76,16,73,91],[76,20,73,95,"util_1"],[76,26,73,101],[76,27,73,102,"BN"],[76,29,73,104],[76,30,73,105],[76,31,73,106],[76,32,73,107],[77,6,73,109,"votedNay"],[77,14,73,117],[77,16,73,119],[77,20,73,123,"util_1"],[77,26,73,129],[77,27,73,130,"BN"],[77,29,73,132],[77,30,73,133],[77,31,73,134],[77,32,73,135],[78,6,73,137,"votedTotal"],[78,16,73,147],[78,18,73,149],[78,22,73,153,"util_1"],[78,28,73,159],[78,29,73,160,"BN"],[78,31,73,162],[78,32,73,163],[78,33,73,164],[79,4,73,166],[79,5,73,167],[79,6,73,168],[80,2,74,0],[81,2,75,0],[81,11,75,9,"calcVotesCurrent"],[81,27,75,25,"calcVotesCurrent"],[81,28,75,26,"tally"],[81,33,75,31],[81,35,75,33,"votes"],[81,40,75,38],[81,42,75,40],[82,4,76,4],[82,8,76,10,"allAye"],[82,14,76,16],[82,17,76,19],[82,19,76,21],[83,4,77,4],[83,8,77,10,"allNay"],[83,14,77,16],[83,17,77,19],[83,19,77,21],[84,4,78,4,"votes"],[84,9,78,9],[84,10,78,10,"forEach"],[84,17,78,17],[84,18,78,18],[84,28,78,19,"derived"],[84,35,78,26],[84,37,78,31],[85,6,79,8],[85,10,79,12,"derived"],[85,17,79,19],[85,18,79,20,"vote"],[85,22,79,24],[85,23,79,25,"isAye"],[85,28,79,30],[85,30,79,32],[86,8,80,12,"allAye"],[86,14,80,18],[86,15,80,19,"push"],[86,19,80,23],[86,20,80,24,"derived"],[86,27,80,31],[86,28,80,32],[87,6,81,8],[87,7,81,9],[87,13,82,13],[88,8,83,12,"allNay"],[88,14,83,18],[88,15,83,19,"push"],[88,19,83,23],[88,20,83,24,"derived"],[88,27,83,31],[88,28,83,32],[89,6,84,8],[90,4,85,4],[90,5,85,5],[90,6,85,6],[91,4,86,4],[91,11,86,11],[92,6,87,8,"allAye"],[92,12,87,14],[92,14,87,8,"allAye"],[92,20,87,14],[93,6,88,8,"allNay"],[93,12,88,14],[93,14,88,8,"allNay"],[93,20,88,14],[94,6,89,8,"voteCount"],[94,15,89,17],[94,17,89,19,"allAye"],[94,23,89,25],[94,24,89,26,"length"],[94,30,89,32],[94,33,89,35,"allNay"],[94,39,89,41],[94,40,89,42,"length"],[94,46,89,48],[95,6,90,8,"voteCountAye"],[95,18,90,20],[95,20,90,22,"allAye"],[95,26,90,28],[95,27,90,29,"length"],[95,33,90,35],[96,6,91,8,"voteCountNay"],[96,18,91,20],[96,20,91,22,"allNay"],[96,26,91,28],[96,27,91,29,"length"],[96,33,91,35],[97,6,92,8,"votedAye"],[97,14,92,16],[97,16,92,18,"tally"],[97,21,92,23],[97,22,92,24,"ayes"],[97,26,92,28],[98,6,93,8,"votedNay"],[98,14,93,16],[98,16,93,18,"tally"],[98,21,93,23],[98,22,93,24,"nays"],[98,26,93,28],[99,6,94,8,"votedTotal"],[99,16,94,18],[99,18,94,20,"tally"],[99,23,94,25],[99,24,94,26,"turnout"],[100,4,95,4],[100,5,95,5],[101,2,96,0],[102,2,97,0],[102,11,97,9,"calcVotes"],[102,20,97,18,"calcVotes"],[102,21,97,19,"sqrtElectorate"],[102,35,97,33],[102,37,97,35,"referendum"],[102,47,97,45],[102,49,97,47,"votes"],[102,54,97,52],[102,56,97,54],[103,4,98,4],[103,8,98,10,"state"],[103,13,98,15],[103,16,98,18,"isCurrentStatus"],[103,31,98,33],[103,32,98,34,"referendum"],[103,42,98,44],[103,43,98,45,"status"],[103,49,98,51],[103,50,98,52],[103,53,99,10,"calcVotesCurrent"],[103,69,99,26],[103,70,99,27,"referendum"],[103,80,99,37],[103,81,99,38,"status"],[103,87,99,44],[103,88,99,45,"tally"],[103,93,99,50],[103,95,99,52,"votes"],[103,100,99,57],[103,101,99,58],[103,104,100,10,"calcVotesPrev"],[103,117,100,23],[103,118,100,24,"votes"],[103,123,100,29],[103,124,100,30],[104,4,101,4],[104,11,101,11],[104,12,101,12],[104,13,101,13],[104,15,101,15,"util_1"],[104,21,101,21],[104,22,101,22,"objectSpread"],[104,34,101,34],[104,36,101,36],[104,37,101,37],[104,38,101,38],[104,40,101,40,"state"],[104,45,101,45],[104,47,101,47],[105,6,102,8,"isPassing"],[105,15,102,17],[105,17,102,19,"calcPassing"],[105,28,102,30],[105,29,102,31,"referendum"],[105,39,102,41],[105,40,102,42,"status"],[105,46,102,48],[105,47,102,49,"threshold"],[105,56,102,58],[105,58,102,60,"sqrtElectorate"],[105,72,102,74],[105,74,102,76,"state"],[105,79,102,81],[105,80,102,82],[106,6,103,8,"votes"],[106,11,103,13],[106,13,103,8,"votes"],[107,4,104,4],[107,5,104,5],[107,6,104,6],[108,2,105,0],[109,2,106,0],[109,11,106,9,"getStatus"],[109,20,106,18,"getStatus"],[109,21,106,19,"info"],[109,25,106,23],[109,27,106,25],[110,4,107,4],[110,8,107,8,"info"],[110,12,107,12],[110,13,107,13,"isNone"],[110,19,107,19],[110,21,107,21],[111,6,108,8],[111,13,108,15],[111,17,108,19],[112,4,109,4],[113,4,110,4],[113,8,110,10,"unwrapped"],[113,17,110,19],[113,20,110,22,"info"],[113,24,110,26],[113,25,110,27,"unwrap"],[113,31,110,33],[113,32,110,34],[113,33,110,35],[114,4,111,4],[114,11,111,11,"isOldInfo"],[114,20,111,20],[114,21,111,21,"unwrapped"],[114,30,111,30],[114,31,111,31],[114,34,112,10,"unwrapped"],[114,43,112,19],[114,46,113,10,"unwrapped"],[114,55,113,19],[114,56,113,20,"isOngoing"],[114,65,113,29],[114,68,114,14,"unwrapped"],[114,77,114,23],[114,78,114,24,"asOngoing"],[115,4,115,12],[116,4,115,12],[116,6,116,14],[116,10,116,18],[117,2,117,0],[118,2,118,0],[118,11,118,9,"getImageHashBounded"],[118,30,118,28,"getImageHashBounded"],[118,31,118,29,"hash"],[118,35,118,33],[118,37,118,35],[119,4,119,4],[119,11,119,11,"hash"],[119,15,119,15],[119,16,119,16,"isLegacy"],[119,24,119,24],[119,27,120,10,"hash"],[119,31,120,14],[119,32,120,15,"asLegacy"],[119,40,120,23],[119,41,120,24,"hash_"],[119,46,120,29],[119,47,120,30,"toHex"],[119,52,120,35],[119,53,120,36],[119,54,120,37],[119,57,121,10,"hash"],[119,61,121,14],[119,62,121,15,"isLookup"],[119,70,121,23],[119,73,122,14,"hash"],[119,77,122,18],[119,78,122,19,"asLookup"],[119,86,122,27],[119,87,122,28,"hash_"],[119,92,122,33],[119,93,122,34,"toHex"],[119,98,122,39],[119,99,122,40],[120,4,123,12],[121,4,123,12],[121,6,124,14,"hash"],[121,10,124,18],[121,11,124,19,"isInline"],[121,19,124,27],[121,22,125,18,"hash"],[121,26,125,22],[121,27,125,23,"asInline"],[121,35,125,31],[121,36,125,32,"hash"],[121,40,125,36],[121,41,125,37,"toHex"],[121,46,125,42],[121,47,125,43],[121,48,125,44],[121,51,126,18],[121,52,126,19],[121,53,126,20],[121,55,126,22,"util_1"],[121,61,126,28],[121,62,126,29,"isString"],[121,70,126,37],[121,72,126,39,"hash"],[121,76,126,43],[121,77,126,44],[121,80,127,22],[121,81,127,23],[121,82,127,24],[121,84,127,26,"util_1"],[121,90,127,32],[121,91,127,33,"isHex"],[121,96,127,38],[121,98,127,40,"hash"],[121,102,127,44],[121,103,127,45],[121,106,128,26,"hash"],[121,110,128,30],[121,113,129,26],[121,114,129,27],[121,115,129,28],[121,117,129,30,"util_1"],[121,123,129,36],[121,124,129,37,"stringToHex"],[121,135,129,48],[121,137,129,50,"hash"],[121,141,129,54],[121,142,129,55],[121,145,130,22],[121,146,130,23],[121,147,130,24],[121,149,130,26,"util_1"],[121,155,130,32],[121,156,130,33,"isU8a"],[121,161,130,38],[121,163,130,40,"hash"],[121,167,130,44],[121,168,130,45],[121,171,131,26],[121,172,131,27],[121,173,131,28],[121,175,131,30,"util_1"],[121,181,131,36],[121,182,131,37,"u8aToHex"],[121,190,131,45],[121,192,131,47,"hash"],[121,196,131,51],[121,197,131,52],[121,200,132,26,"hash"],[121,204,132,30],[121,205,132,31,"toHex"],[121,210,132,36],[121,211,132,37],[121,212,132,38],[122,2,133,0],[123,2,134,0],[123,11,134,9,"getImageHash"],[123,23,134,21,"getImageHash"],[123,24,134,22,"status"],[123,30,134,28],[123,32,134,30],[124,4,135,4],[124,11,135,11,"getImageHashBounded"],[124,30,135,30],[124,31,135,31,"status"],[124,37,135,37],[124,38,135,38,"proposal"],[124,46,135,46],[124,50,136,8,"status"],[124,56,136,14],[124,57,136,15,"proposalHash"],[124,69,136,27],[124,70,136,28],[125,2,137,0],[126,0,137,1],[126,3]],"functionMap":{"names":["<global>","isOldInfo","isCurrentStatus","compareRationals","calcPassingOther","calcPassing","calcVotesPrev","votesFor.reduce$argument_0","calcVotesCurrent","votes.forEach$argument_0","calcVotes","getStatus","getImageHashBounded","getImageHash"],"mappings":"AAA;ACS;CDE;AEC;CFE;AGC;CHuB;AIC;CJO;AKC;CLI;AMC;2BCC;KDmB;CNC;AQC;kBCG;KDO;CRW;AUC;CVQ;AWC;CXW;AYC;CZe;AaC;CbG"},"hasCjsExports":true},"type":"js/module"}]} |