mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 03:01:04 +00:00
1 line
11 KiB
Plaintext
1 line
11 KiB
Plaintext
{"dependencies":[],"output":[{"data":{"code":"__d(function(g,r,i,a,m,e,d){'use strict';function t(t,n,f,o){void 0===o&&(o=1);for(var s=n.getItemCount(n.data),l=[],u=0;u<t.length;u++)for(var v=t[u],c=0,h=s-1;c<=h;){var M=c+(h-c>>>1),b=f(M,n),x=b.offset*o,y=(b.offset+b.length)*o;if(0===M&&v<x||0!==M&&v<=x)h=M-1;else{if(!(v>y)){l[u]=M;break}c=M+1}}return l}function n(t,n){return n.last-n.first+1-Math.max(0,1+Math.min(n.last,t.last)-Math.max(n.first,t.first))}Object.defineProperty(e,\"__esModule\",{value:!0}),e.computeWindowedRenderLimits=function(f,o,s,l,u,v){var c=f.getItemCount(f.data);if(0===c)return{first:0,last:-1};var h=v.offset,M=v.velocity,b=v.visibleLength,x=v.zoomScale,y=void 0===x?1:x,w=Math.max(0,h),k=w+b,p=(s-1)*b,C=M>1?'after':M<-1?'before':'none',O=Math.max(0,w-.5*p),_=Math.max(0,k+.5*p);if(u(c-1,f).offset*y<O)return{first:Math.max(0,c-1-o),last:c-1};var j=t([O,w,k,_],f,u,y),L=j[0],S=j[1],E=j[2],I=j[3];L=null==L?0:L,S=null==S?Math.max(0,L):S,I=null==I?c-1:I,E=null==E?Math.min(I,S+o-1):E;var R={first:S,last:E},z=n(l,R);for(;!(S<=L&&E>=I);){var B=z>=o,F=S<=l.first||S>l.last,J=S>L&&(!B||!F),N=E>=l.last||E<l.first,P=E<I&&(!B||!N);if(B&&!J&&!P)break;!J||'after'===C&&P&&N||(F&&z++,S--),!P||'before'===C&&J&&F||(N&&z++,E++)}if(!(E>=S&&S>=0&&E<c&&S>=L&&E<=I&&S<=R.first&&E>=R.last))throw new Error('Bad window calculation '+JSON.stringify({first:S,last:E,itemCount:c,overscanFirst:L,overscanLast:I,visible:R}));return{first:S,last:E}},e.elementsThatOverlapOffsets=t,e.keyExtractor=function(t,n){if('object'==typeof t&&null!=(null==t?void 0:t.key))return t.key;if('object'==typeof t&&null!=(null==t?void 0:t.id))return t.id;return String(n)},e.newRangeCount=n});","lineCount":1,"map":[[1,28,11,0],[1,41,18,7],[1,50,18,16,"elementsThatOverlapOffsets"],[1,52,18,43,"offsets"],[1,54,18,52,"props"],[1,56,18,59,"getFrameMetrics"],[1,58,18,76,"zoomScale"],[1,66,19,15,"undefined"],[1,70,19,6,"zoomScale"],[1,74,20,4,"zoomScale"],[1,76,20,16],[1,79,24,2],[1,83,22,2],[1,87,22,6,"itemCount"],[1,89,22,18,"props"],[1,91,22,24,"getItemCount"],[1,104,22,37,"props"],[1,106,22,43,"data"],[1,112,23,6,"result"],[1,114,23,15],[1,117,24,11,"offsetIndex"],[1,119,24,25],[1,121,24,28,"offsetIndex"],[1,123,24,42,"offsets"],[1,125,24,50,"length"],[1,132,24,58,"offsetIndex"],[1,136,28,4],[1,140,25,4],[1,144,25,8,"currentOffset"],[1,146,25,24,"offsets"],[1,148,25,32,"offsetIndex"],[1,151,26,8,"left"],[1,153,26,15],[1,155,27,8,"right"],[1,157,27,16,"itemCount"],[1,159,27,28],[1,161,28,11,"left"],[1,164,28,19,"right"],[1,167,28,26],[1,168,30,6],[1,172,30,10,"mid"],[1,174,30,16,"left"],[1,177,30,24,"right"],[1,179,30,32,"left"],[1,183,30,41],[1,186,31,10,"frame"],[1,188,31,18,"getFrameMetrics"],[1,190,31,34,"mid"],[1,192,31,39,"props"],[1,195,32,10,"scaledOffsetStart"],[1,197,32,30,"frame"],[1,199,32,36,"offset"],[1,206,32,45,"zoomScale"],[1,208,33,10,"scaledOffsetEnd"],[1,211,33,29,"frame"],[1,213,33,35,"offset"],[1,220,33,44,"frame"],[1,222,33,50,"length"],[1,230,33,60,"zoomScale"],[1,232,37,6],[1,235,37,18],[1,239,37,10,"mid"],[1,242,37,23,"currentOffset"],[1,244,37,39,"scaledOffsetStart"],[1,247,37,68],[1,251,37,60,"mid"],[1,254,37,73,"currentOffset"],[1,257,37,90,"scaledOffsetStart"],[1,259,38,8,"right"],[1,261,38,16,"mid"],[1,263,38,22],[1,269,39,13],[1,275,39,17,"currentOffset"],[1,277,39,33,"scaledOffsetEnd"],[1,280,41,13],[1,281,42,8,"result"],[1,283,42,15,"offsetIndex"],[1,286,42,30,"mid"],[1,288,43,8],[1,293,44,6],[1,294,40,8,"left"],[1,296,40,15,"mid"],[1,298,40,21],[1,299,44,6],[1,300,45,4],[1,301,47,2],[1,308,47,9,"result"],[1,309,48,0],[1,310,56,7],[1,319,56,16,"newRangeCount"],[1,321,56,30,"prev"],[1,323,56,36,"next"],[1,326,57,2],[1,333,57,9,"next"],[1,335,57,14,"last"],[1,340,57,21,"next"],[1,342,57,26,"first"],[1,348,57,34],[1,350,57,38,"Math"],[1,355,57,43,"max"],[1,359,57,47],[1,361,57,50],[1,363,57,54,"Math"],[1,368,57,59,"min"],[1,372,57,63,"next"],[1,374,57,68,"last"],[1,379,57,74,"prev"],[1,381,57,79,"last"],[1,387,57,87,"Math"],[1,392,57,92,"max"],[1,396,57,96,"next"],[1,398,57,101,"first"],[1,404,57,108,"prev"],[1,406,57,113,"first"],[1,413,58,0],[1,414,13,0,"Object"],[1,421,13,0,"defineProperty"],[1,436,13,0,"e"],[1,438,13,0],[1,452,13,0,"value"],[1,459,13,0],[1,463,13,0,"e"],[1,465,13,0,"computeWindowedRenderLimits"],[1,493,66,7],[1,502,66,44,"props"],[1,504,66,51,"maxToRenderPerBatch"],[1,506,66,72,"windowSize"],[1,508,66,84,"prev"],[1,510,66,90,"getFrameMetricsApprox"],[1,512,66,113,"scrollMetrics"],[1,515,67,2],[1,519,67,6,"itemCount"],[1,521,67,18,"props"],[1,523,67,24,"getItemCount"],[1,536,67,37,"props"],[1,538,67,43,"data"],[1,544,68,2],[1,547,68,20],[1,551,68,6,"itemCount"],[1,553,69,4],[1,559,69,11],[1,560,70,6,"first"],[1,566,70,13],[1,568,71,6,"last"],[1,574,71,10],[1,577,74,2],[1,581,74,6,"offset"],[1,583,74,15,"scrollMetrics"],[1,585,74,29,"offset"],[1,592,75,4,"velocity"],[1,594,75,15,"scrollMetrics"],[1,596,75,29,"velocity"],[1,605,76,4,"visibleLength"],[1,607,76,20,"scrollMetrics"],[1,609,76,34,"visibleLength"],[1,623,77,4,"_scrollMetrics$zoomSc"],[1,625,77,28,"scrollMetrics"],[1,627,77,42,"zoomScale"],[1,637,78,4,"zoomScale"],[1,644,78,37,"undefined"],[1,648,78,16,"_scrollMetrics$zoomSc"],[1,650,78,51],[1,652,78,55,"_scrollMetrics$zoomSc"],[1,654,83,6,"visibleBegin"],[1,656,83,21,"Math"],[1,661,83,26,"max"],[1,665,83,30],[1,667,83,33,"offset"],[1,670,84,6,"visibleEnd"],[1,672,84,19,"visibleBegin"],[1,674,84,34,"visibleLength"],[1,676,85,6,"overscanLength"],[1,679,85,24,"windowSize"],[1,681,85,37],[1,684,85,42,"visibleLength"],[1,686,90,6,"fillPreference"],[1,688,90,23,"velocity"],[1,690,90,34],[1,692,90,38],[1,700,90,48,"velocity"],[1,703,90,56],[1,705,90,64],[1,714,90,75],[1,721,91,6,"overscanBegin"],[1,723,91,22,"Math"],[1,728,91,27,"max"],[1,732,91,31],[1,734,91,34,"visibleBegin"],[1,736,91,49],[1,739,91,68,"overscanLength"],[1,742,92,6,"overscanEnd"],[1,744,92,20,"Math"],[1,749,92,25,"max"],[1,753,92,29],[1,755,92,32,"visibleEnd"],[1,757,88,19],[1,760,92,58,"overscanLength"],[1,763,94,2],[1,766,93,23,"getFrameMetricsApprox"],[1,768,93,45,"itemCount"],[1,770,93,57],[1,772,93,60,"props"],[1,775,93,67,"offset"],[1,782,93,76,"zoomScale"],[1,784,94,23,"overscanBegin"],[1,786,96,4],[1,792,96,11],[1,793,97,6,"first"],[1,799,97,13,"Math"],[1,804,97,18,"max"],[1,808,97,22],[1,810,97,25,"itemCount"],[1,812,97,37],[1,814,97,41,"maxToRenderPerBatch"],[1,817,98,6,"last"],[1,822,98,12,"itemCount"],[1,824,98,24],[1,827,103,2],[1,831,103,6,"_elementsThatOverlapO"],[1,833,103,30,"elementsThatOverlapOffsets"],[1,835,103,57],[1,836,103,58,"overscanBegin"],[1,838,103,73,"visibleBegin"],[1,840,103,87,"visibleEnd"],[1,842,103,99,"overscanEnd"],[1,845,103,113,"props"],[1,847,103,120,"getFrameMetricsApprox"],[1,849,103,143,"zoomScale"],[1,852,104,4,"overscanFirst"],[1,854,104,20,"_elementsThatOverlapO"],[1,856,104,42],[1,859,105,4,"first"],[1,861,105,12,"_elementsThatOverlapO"],[1,863,105,34],[1,866,106,4,"last"],[1,868,106,11,"_elementsThatOverlapO"],[1,870,106,33],[1,873,107,4,"overscanLast"],[1,875,107,19,"_elementsThatOverlapO"],[1,877,107,41],[1,880,108,2,"overscanFirst"],[1,882,108,35],[1,888,108,18,"overscanFirst"],[1,890,108,42],[1,892,108,46,"overscanFirst"],[1,894,109,2,"first"],[1,896,109,19],[1,902,109,10,"first"],[1,904,109,26,"Math"],[1,909,109,31,"max"],[1,913,109,35],[1,915,109,38,"overscanFirst"],[1,918,109,55,"first"],[1,920,110,2,"overscanLast"],[1,922,110,33],[1,928,110,17,"overscanLast"],[1,930,110,40,"itemCount"],[1,932,110,52],[1,934,110,56,"overscanLast"],[1,936,111,2,"last"],[1,938,111,17],[1,944,111,9,"last"],[1,946,111,24,"Math"],[1,951,111,29,"min"],[1,955,111,33,"overscanLast"],[1,957,111,47,"first"],[1,959,111,55,"maxToRenderPerBatch"],[1,961,111,77],[1,964,111,82,"last"],[1,966,112,2],[1,970,112,6,"visible"],[1,972,112,16],[1,973,113,4,"first"],[1,981,114,4,"last"],[1,989,121,6,"newCellCount"],[1,991,121,21,"newRangeCount"],[1,993,121,35,"prev"],[1,995,121,41,"visible"],[1,998,122,2],[1,1005,123,8,"first"],[1,1008,123,17,"overscanFirst"],[1,1011,123,34,"last"],[1,1014,123,42,"overscanLast"],[1,1018,122,15],[1,1019,127,4],[1,1023,127,8,"maxNewCells"],[1,1025,127,22,"newCellCount"],[1,1028,127,38,"maxToRenderPerBatch"],[1,1030,128,8,"firstWillAddMore"],[1,1032,128,27,"first"],[1,1035,128,36,"prev"],[1,1037,128,41,"first"],[1,1044,128,50,"first"],[1,1046,128,58,"prev"],[1,1048,128,63,"last"],[1,1053,129,8,"firstShouldIncrement"],[1,1055,129,31,"first"],[1,1057,129,39,"overscanFirst"],[1,1062,129,58,"maxNewCells"],[1,1066,129,74,"firstWillAddMore"],[1,1069,130,8,"lastWillAddMore"],[1,1071,130,26,"last"],[1,1074,130,34,"prev"],[1,1076,130,39,"last"],[1,1082,130,47,"last"],[1,1084,130,54,"prev"],[1,1086,130,59,"first"],[1,1092,131,8,"lastShouldIncrement"],[1,1094,131,30,"last"],[1,1096,131,37,"overscanLast"],[1,1101,131,55,"maxNewCells"],[1,1105,131,71,"lastWillAddMore"],[1,1108,132,4],[1,1111,132,8,"maxNewCells"],[1,1115,132,24,"firstShouldIncrement"],[1,1119,132,49,"lastShouldIncrement"],[1,1121,137,6],[1,1128,139,8,"firstShouldIncrement"],[1,1131,139,53],[1,1141,139,34,"fillPreference"],[1,1144,139,64,"lastShouldIncrement"],[1,1147,139,87,"lastWillAddMore"],[1,1151,140,10,"firstWillAddMore"],[1,1154,141,8,"newCellCount"],[1,1158,143,6,"first"],[1,1164,145,8,"lastShouldIncrement"],[1,1167,145,52],[1,1178,145,33,"fillPreference"],[1,1181,145,64,"firstShouldIncrement"],[1,1184,145,88,"firstWillAddMore"],[1,1188,146,10,"lastWillAddMore"],[1,1191,147,8,"newCellCount"],[1,1195,149,6,"last"],[1,1199,151,2],[1,1200,152,2],[1,1205,152,8,"last"],[1,1208,152,16,"first"],[1,1211,152,25,"first"],[1,1214,152,34],[1,1217,152,39,"last"],[1,1219,152,46,"itemCount"],[1,1222,152,59,"first"],[1,1225,152,68,"overscanFirst"],[1,1228,152,85,"last"],[1,1231,152,93,"overscanLast"],[1,1234,152,109,"first"],[1,1237,152,118,"visible"],[1,1239,152,126,"first"],[1,1246,152,135,"last"],[1,1249,152,143,"visible"],[1,1251,152,151,"last"],[1,1257,153,4],[1,1263,153,10],[1,1267,153,14,"Error"],[1,1273,153,20],[1,1299,153,48,"JSON"],[1,1304,153,53,"stringify"],[1,1314,153,63],[1,1315,154,6,"first"],[1,1323,155,6,"last"],[1,1330,156,6,"itemCount"],[1,1342,157,6,"overscanFirst"],[1,1358,158,6,"overscanLast"],[1,1373,159,6,"visible"],[1,1386,162,2],[1,1392,162,9],[1,1393,163,4,"first"],[1,1401,164,4,"last"],[1,1408,166,0],[1,1410,13,0,"e"],[1,1412,13,0,"elementsThatOverlapOffsets"],[1,1441,13,0,"e"],[1,1443,13,0,"keyExtractor"],[1,1456,167,7],[1,1465,167,29,"item"],[1,1467,167,35,"index"],[1,1470,168,2],[1,1473,168,22],[1,1490,168,13,"item"],[1,1493,168,72],[1,1500,168,43],[1,1506,168,35,"item"],[1,1513,168,47,"undefined"],[1,1515,168,59,"item"],[1,1517,168,64,"key"],[1,1522,169,4],[1,1529,169,11,"item"],[1,1531,169,16,"key"],[1,1535,171,2],[1,1538,171,22],[1,1555,171,13,"item"],[1,1558,171,71],[1,1565,171,43],[1,1571,171,35,"item"],[1,1578,171,47,"undefined"],[1,1580,171,59,"item"],[1,1582,171,64,"id"],[1,1586,172,4],[1,1593,172,11,"item"],[1,1595,172,16,"id"],[1,1598,174,2],[1,1605,174,9,"String"],[1,1612,174,16,"index"],[1,1614,175,0],[1,1616,13,0,"e"],[1,1618,13,0,"newRangeCount"],[1,1633,175,1],[1,1636]],"functionMap":{"names":["<global>","elementsThatOverlapOffsets","newRangeCount","computeWindowedRenderLimits","keyExtractor"],"mappings":"AAA;OCiB;CD8B;OEQ;CFE;OGQ;CHoG;OIC"}},"type":"js/module"}]} |