mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
[constants] extract STANDARD_TIMEOUT_MS (10000) -> js/constants.js
Refactors duplicated `10000` ms numeric literals to use the canonical `STANDARD_TIMEOUT_MS` constant. Affects: - `js/testHarness.js` - `js/nostr/relayBatchFetcher.js` - `js/nostr/client.js` Verification: - `npm run lint` passed. - `npm run test:unit` passed. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
066355e47e
commit
190347c522
1 file changed
-349
@@ -1,349 +0,0 @@
|
||||
js/docsView.js:112: <path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
js/dmDecryptor.js:234: return 5;
|
||||
js/index.js:591:// 3) Load the disclaimer (now separate)
|
||||
js/testHarness.js:183:function waitForFeedItems(minCount = 1, timeoutMs = 15000) {
|
||||
js/testHarness.js:211:function waitForSelector(selector, timeoutMs = 10000) {
|
||||
js/magnetShared.js:76: buffer = (buffer << 5) | index;
|
||||
js/magnetShared.js:77: bits += 5;
|
||||
js/app.js:783: // 3) For each author, fetchAndRenderProfile with forceRefresh = true
|
||||
js/nostr/commentEvents.js:29:const commentCache = new LRUCache({ maxSize: 100 });
|
||||
js/nostr/videoEventBuffer.js:74: * 3. Updates the client's `activeMap` (Latest Wins).
|
||||
js/nostr/videoEventBuffer.js:76: * 5. Triggers background hydration of NIP-71 metadata.
|
||||
js/nostr/videoEventBuffer.js:108: // If this is a deletion event (Kind 5 or deletion marker), record a tombstone
|
||||
js/nostr/adapters/nip07Adapter.js:30: const delay = isChannelClosed ? 250 : 100;
|
||||
js/nostr/watchHistory.js:45:const WATCH_HISTORY_REPUBLISH_MAX_DELAY_MS = 5 * 60 * 1000;
|
||||
js/nostr/watchHistory.js:1151: { concurrency: 5 },
|
||||
js/nostr/watchHistory.js:1885: if (segments.length < 3) {
|
||||
js/nostr/watchHistory.js:1940: { concurrency: 5 },
|
||||
js/nostr/relayConstants.js:17:export const RELAY_RECONNECT_MAX_ATTEMPTS = 5;
|
||||
js/nostr/relayConstants.js:20:export const RELAY_CIRCUIT_BREAKER_THRESHOLD = 3;
|
||||
js/nostr/relayConstants.js:23:export const RELAY_FAILURE_WINDOW_THRESHOLD = 3;
|
||||
js/nostr/relayConstants.js:25:export const RELAY_BACKGROUND_CONCURRENCY = 3;
|
||||
js/nostr/managers/SignerManager.js:507: const maxAttempts = 3;
|
||||
js/nostr/managers/PersistenceManager.js:35: * 3. Rehydrates `allEvents`, `activeMap`, and `tombstones`.
|
||||
js/nostr/managers/EventsCacheStore.js:264: * 3. Updates IDB only if fingerprint differs from `fingerprintsMap`.
|
||||
js/nostr/managers/EventsCacheStore.js:266: * 5. Checks if deletions are needed (if `items.size < fingerprintsMap.size`).
|
||||
js/nostr/videoPayloadBuilder.js:129: version: 3,
|
||||
js/nostr/publishHelpers.js:611: if (!candidate || typeof candidate !== "object" || depth > 3) {
|
||||
js/nostr/publishHelpers.js:643: if (candidate.pointerInfo && depth <= 3) {
|
||||
js/nostr/publishHelpers.js:653: if (candidate.video && depth <= 3) {
|
||||
js/nostr/publishHelpers.js:721: if (parts.length >= 3) {
|
||||
js/nostr/nip07Permissions.js:4:export const NIP07_EXTENSION_WAIT_TIMEOUT_MS = 5000;
|
||||
js/nostr/nip07Permissions.js:38: NORMAL: 5,
|
||||
js/nostr/nip07Permissions.js:101:// PERF: Increased from 3 to 5 to allow more parallel decrypt operations
|
||||
js/nostr/nip07Permissions.js:104:const requestQueue = new Nip07RequestQueue(5);
|
||||
js/nostr/relayBatchFetcher.js:19: timeoutMs = 10000,
|
||||
js/nostr/relayBatchFetcher.js:135: const listTimeoutMs = Number.isFinite(timeoutMs) && timeoutMs > 0 ? timeoutMs : 10000;
|
||||
js/nostr/nip46LoggingUtils.js:23: const visible = trimmed.length <= 4 ? "*".repeat(trimmed.length) : `${"*".repeat(3)}…`;
|
||||
js/nostr/commentTargetNormalizer.js:568: const authorHint = getTagField(rootEventTag, 3);
|
||||
js/nostr/commentTargetNormalizer.js:606: const authorHint = getTagField(candidate.tag, 3);
|
||||
js/nostr/commentTargetNormalizer.js:630: const authorHint = getTagField(parentTag, 3);
|
||||
js/nostr/nip71.js:513: const language = stringFromInput(tag[3]);
|
||||
js/nostr/nip71.js:723: if (parts.length === 3 && parts[0] === "30078") {
|
||||
js/nostr/nip46Queue.js:7: NORMAL: 5,
|
||||
js/nostr/client.js:796: * @param {number} params.kind - The event kind to fetch (e.g. 10000 for mute list).
|
||||
js/nostr/client.js:812: timeoutMs = 10000,
|
||||
js/nostr/client.js:1019: * 3. **Network Connect**: Initializes `SimplePool` and establishes WebSocket connections to relays.
|
||||
js/nostr/client.js:1325: priority: -5,
|
||||
js/nostr/client.js:1378: * 3. **Decryption**: Attempts to decrypt each event using available strategies:
|
||||
js/nostr/client.js:1425: const timeoutMs = options.timeoutMs || 10000;
|
||||
js/nostr/client.js:2167: * 3. **Wrap**: Generate an ephemeral keypair, encrypt the seal to the recipient, and wrap in a Kind 1059 (Gift Wrap).
|
||||
js/nostr/client.js:2444: * 3. **NIP-71 Metadata**: If the user added categories/tags, we publish a Kind 22 event
|
||||
js/nostr/client.js:2470: // 3. Publish NIP-71 Metadata (Kind 22) if categories/tags were added.
|
||||
js/nostr/client.js:2489: * 3. **Content Update**: The new payload (title, magnet, etc.) replaces the old content.
|
||||
js/nostr/client.js:2901: version: Number.isFinite(vid.version) ? vid.version : 3,
|
||||
js/nostr/client.js:2969: * Helper to perform a hard delete (Kind 5) on a set of video events.
|
||||
js/nostr/client.js:3057: const chunkSize = 100;
|
||||
js/nostr/client.js:3141: * 3. **Hard Delete (NIP-09)**: We construct a Kind 5 event referencing:
|
||||
js/nostr/client.js:3145: * Relays that respect Kind 5 will physically delete these rows.
|
||||
js/nostr/client.js:3270: * 3. **Batch Process (Flush)**:
|
||||
js/nostr/client.js:3802: // 3. Fetch histories
|
||||
js/nostr/client.js:3846: * 3. **Legacy Fallback**: Older versions might only be linked by the `d` tag or lack a root pointer entirely.
|
||||
js/nostr/client.js:3852: * 3. **Sparse History Check**: If we found <= 1 version locally, we assume our cache is incomplete.
|
||||
js/nostr/client.js:3854: * 5. **Merge & Sort**: Combine local and network findings, deduplicate by ID, filter out unrelated events, and sort by `created_at` (Newest -> Oldest).
|
||||
js/nostr/nip46Client.js:49:const NIP46_PING_TIMEOUT_MS = 5000;
|
||||
js/nostr/nip46Client.js:54:export const NIP46_AUTH_CHALLENGE_MAX_ATTEMPTS = 5;
|
||||
js/nostr/reactionEvents.js:15:const reactionCache = new LRUCache({ maxSize: 100 });
|
||||
js/nostr/reactionEvents.js:96: pointerInput.length >= 3 &&
|
||||
js/relayManager.js:19:const FAST_RELAY_FETCH_LIMIT = 3;
|
||||
js/payments/zapReceiptValidator.js:152: const length = (dataWords[index] << 5) + dataWords[index + 1];
|
||||
js/payments/zapSharedState.js:119: const platformShare = Math.floor((numericAmount * feePercent) / 100);
|
||||
js/payments/lnurl.js:19: const left = chars.map((char) => char.charCodeAt(0) >> 5);
|
||||
js/payments/lnurl.js:28: chk = ((chk & 0x1ffffff) << 5) ^ value;
|
||||
js/payments/lnurl.js:120: checksum.push((mod >> ((5 - i) * 5)) & 31);
|
||||
js/payments/lnurl.js:141: const words = convertWords(bytes, 8, 5, { pad: true });
|
||||
js/payments/lnurl.js:151: const bytes = convertWords(words, 5, 8, { pad: false });
|
||||
js/payments/nwcClient.js:1092: if (type === "EVENT" && payload.length >= 3) {
|
||||
js/payments/zapSplit.js:543: const platformShare = Math.floor((amount * platformFee) / 100);
|
||||
js/payments/platformFee.js:28: return (second / total) * 100;
|
||||
js/payments/platformFee.js:57: return Math.min(100, Math.max(0, numeric));
|
||||
js/webtorrent.min.js.map:1:{"version":3,"file":"webtorrent.min.js","mappings":"IACIA,EADAC,E,YCAJ,SAASC,EAAQC,EAAQC,GACvB,GAAyB,iBAAdD,EAAO,GA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,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,WAyFD3F,EAAQ4F,IAAMV,QAAQW,OAASX,QAAQU,KAAO,MAAS,GAkEvD7F,EAAOC,QAAU,EAAQ,IAAR,CAAoBA,GAErC,MAAM,WAAC8F,GAAc/F,EAAOC,QAM5B8F,EAAWC,EAAI,SAAUC,GACxB,IACC,OAAOC,KAAKC,UAAUF,EACvB,CAAE,MAAO/B,GACR,MAAO,+BAAiCA,EAAMkC,OAC/C,CACD,C,gBCoBApG,EAAOC,QA7RP,SAAesE,GAqDd,SAAS8B,EAAYjD,GACpB,IAAIkD,EAEAC,EACAC,EAFAC,EAAiB,KAIrB,SAASX,KAAS5C,GAEjB,IAAK4C,EAAMY,QACV,OAGD,MAAMC,EAAOb,EAGPc,EAAOC,OAAO,IAAICLine truncated
|
||||
js/gridHealth.js:234:const PROBE_POLL_COUNT = 3;
|
||||
js/gridHealth.js:352: badge.classList.contains("mt-sm") || badge.classList.contains("mt-3");
|
||||
js/utils/qrcode.js:54: byteArray[3] = 0x80 | (code & 0x3F);
|
||||
js/utils/qrcode.js:103: return pattern;},createMovieClip:function(target_mc,instance_name,depth){var qr_mc=target_mc.createEmptyMovieClip(instance_name,depth);var cs=1;this.make();for(var row=0;row<this.modules.length;row++){var y=row*cs;for(var col=0;col<this.modules[row].length;col++){var x=col*cs;var dark=this.modules[row][col];if(dark){qr_mc.beginFill(0,100);qr_mc.moveTo(x,y);qr_mc.lineTo(x+cs,y);qr_mc.lineTo(x+cs,y+cs);qr_mc.lineTo(x,y+cs);qr_mc.endFill();}}}
|
||||
js/utils/qrcode.js:108: for(var r=-2;r<=2;r++){for(var c=-2;c<=2;c++){if(r==-2||r==2||c==-2||c==2||(r==0&&c==0)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}}}},setupTypeNumber:function(test){var bits=QRUtil.getBCHTypeNumber(this.typeNumber);for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=mod;}
|
||||
js/utils/qrcode.js:109: for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=mod;}},setupTypeInfo:function(test,maskPattern){var data=(this.errorCorrectLevel<<3)|maskPattern;var bits=QRUtil.getBCHTypeInfo(data);for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<6){this.modules[i][8]=mod;}else if(i<8){this.modules[i+1][8]=mod;}else{this.modules[this.moduleCount-15+i][8]=mod;}}
|
||||
js/utils/qrcode.js:131: return data;};var QRMode={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3};var QRErrorCorrectLevel={L:1,M:0,Q:3,H:2};var QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:(1<<10)|(1<<8)|(1<<5)|(1<<4)|(1<<2)|(1<<1)|(1<<0),G18:(1<<12)|(1<<11)|(1<<10)|(1<<9)|(1<<8)|(1<<5)|(1<<2)|(1<<0),G15_MASK:(1<<14)|(1<<12)|(1<<10)|(1<<4)|(1<<1),getBCHTypeInfo:function(data){var d=data<<10;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)>=0){d^=(QRUtil.G15<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)));}
|
||||
js/utils/qrcode.js:134: return digit;},getPatternPosition:function(typeNumber){return QRUtil.PATTERN_POSITION_TABLE[typeNumber-1];},getMask:function(maskPattern,i,j){switch(maskPattern){case QRMaskPattern.PATTERN000:return(i+j)%2==0;case QRMaskPattern.PATTERN001:return i%2==0;case QRMaskPattern.PATTERN010:return j%3==0;case QRMaskPattern.PATTERN011:return(i+j)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(i/2)+Math.floor(j/3))%2==0;case QRMaskPattern.PATTERN101:return(i*j)%2+(i*j)%3==0;case QRMaskPattern.PATTERN110:return((i*j)%2+(i*j)%3)%2==0;case QRMaskPattern.PATTERN111:return((i*j)%3+(i+j)%2)%2==0;default:throw new Error("bad maskPattern:"+maskPattern);}},getErrorCorrectPolynomial:function(errorCorrectLength){var a=new QRPolynomial([1],0);for(var i=0;i<errorCorrectLength;i++){a=a.multiply(new QRPolynomial([1,QRMath.gexp(i)],0));}
|
||||
js/utils/qrcode.js:139: if(sameCount>5){lostPoint+=(3+sameCount-5);}}}
|
||||
js/utils/qrcode.js:140: for(var row=0;row<moduleCount-1;row++){for(var col=0;col<moduleCount-1;col++){var count=0;if(qrCode.isDark(row,col))count++;if(qrCode.isDark(row+1,col))count++;if(qrCode.isDark(row,col+1))count++;if(qrCode.isDark(row+1,col+1))count++;if(count==0||count==4){lostPoint+=3;}}}
|
||||
js/utils/qrcode.js:141: for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount-6;col++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row,col+1)&&qrCode.isDark(row,col+2)&&qrCode.isDark(row,col+3)&&qrCode.isDark(row,col+4)&&!qrCode.isDark(row,col+5)&&qrCode.isDark(row,col+6)){lostPoint+=40;}}}
|
||||
js/utils/qrcode.js:142: for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount-6;row++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row+1,col)&&qrCode.isDark(row+2,col)&&qrCode.isDark(row+3,col)&&qrCode.isDark(row+4,col)&&!qrCode.isDark(row+5,col)&&qrCode.isDark(row+6,col)){lostPoint+=40;}}}
|
||||
js/utils/qrcode.js:144: var ratio=Math.abs(100*darkCount/moduleCount/moduleCount-50)/5;lostPoint+=ratio*10;return lostPoint;}};var QRMath={glog:function(n){if(n<1){throw new Error("glog("+n+")");}
|
||||
js/utils/qrcode.js:148: for(var i=8;i<256;i++){QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];}
|
||||
js/utils/qrcode.js:158: QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(typeNumber,errorCorrectLevel){var rsBlock=QRRSBlock.getRsBlockTable(typeNumber,errorCorrectLevel);if(rsBlock==undefined){throw new Error("bad rs block @ typeNumber:"+typeNumber+"/errorCorrectLevel:"+errorCorrectLevel);}
|
||||
js/utils/qrcode.js:159: var length=rsBlock.length/3;var list=[];for(var i=0;i<length;i++){var count=rsBlock[i*3+0];var totalCount=rsBlock[i*3+1];var dataCount=rsBlock[i*3+2];for(var j=0;j<count;j++){list.push(new QRRSBlock(totalCount,dataCount));}}
|
||||
js/utils/qrcode.js:160: return list;};QRRSBlock.getRsBlockTable=function(typeNumber,errorCorrectLevel){switch(errorCorrectLevel){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+3];default:return undefined;}};function QRBitBuffer(){this.buffer=[];this.length=0;}
|
||||
js/utils/qrcode.js:213: var svg = makeSVG("svg" , {'viewBox': '0 0 ' + String(nCount) + " " + String(nCount), 'width': '100%', 'height': '100%', 'fill': _htOption.colorLight});
|
||||
js/utils/qrcode.js:217: svg.appendChild(makeSVG("rect", {"fill": _htOption.colorLight, "width": "100%", "height": "100%"}));
|
||||
js/utils/qrcode.js:420: arguments[3] *= factor;
|
||||
js/utils/qrcode.js:536: Math.floor(nLeft) + 0.5,
|
||||
js/utils/qrcode.js:537: Math.floor(nTop) + 0.5,
|
||||
js/utils/qrcode.js:543: Math.ceil(nLeft) - 0.5,
|
||||
js/utils/qrcode.js:544: Math.ceil(nTop) - 0.5,
|
||||
js/utils/qrcode.js:621: nLimit = QRCodeLimitLength[i][3];
|
||||
js/utils/qrcode.js:641: return replacedText.length + (replacedText.length != sText ? 3 : 0);
|
||||
js/utils/qrcode.js:730: * - Android below 3 doesn't support Data-URI spec.
|
||||
js/utils/qrcode.js:735: if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) {
|
||||
js/utils/profileMedia.js:3:const LOCALHOST_PATTERN = /^(?:localhost|(?:\d{1,3}\.){3}\d{1,3})(?::\d+)?(?:[/?#].*)?$/i;
|
||||
js/utils/hashtagNormalization.js:11: * 3) Lowercase the remaining value.
|
||||
js/utils/formatters.js:111: const v = n % 100;
|
||||
js/utils/lruCache.js:13: * @param {number} [options.maxSize=100] - Maximum number of entries.
|
||||
js/utils/lruCache.js:15: constructor({ maxSize = 100 } = {}) {
|
||||
js/utils/lruCache.js:16: this.maxSize = maxSize > 0 ? maxSize : 100;
|
||||
js/reactionCounter.js:675: if (Array.isArray(pointer) && pointer.length >= 3) {
|
||||
js/channelProfile.js:488: d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.78-9.72a.75.75 0 00-1.06-1.06L9 11.94l-1.72-1.72a.75.75 0 10-1.06 1.06l2.25 2.25a.75.75 0 001.06 0l3.25-3.25z",
|
||||
js/channelProfile.js:495: d: "M10 18a8 8 0 100-16 8 8 0 000 16zm-.75-11.75a.75.75 0 011.5 0v4.5a.75.75 0 01-1.5 0v-4.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z",
|
||||
js/channelProfile.js:2358: "rounded border border-border bg-overlay-panel-soft p-3 text-text";
|
||||
js/channelProfile.js:2374: li.className = "rounded border border-border bg-overlay-panel-soft p-3";
|
||||
js/channelProfile.js:2883: const overrideFee = share.type === "platform" ? 100 : 0;
|
||||
js/channelProfile.js:3793: // 3) Load subscription state when logged in, but always render the toggle UI
|
||||
js/channelProfile.js:4174: icon.className = "w-5 h-5";
|
||||
js/userBlocks.js:85:const FAST_BLOCKLIST_RELAY_LIMIT = 3;
|
||||
js/userBlocks.js:95:const MAX_BLOCKLIST_ENTRIES = 5000;
|
||||
js/userBlocks.js:491: chk = ((chk & 0x1ffffff) << 5) ^ value;
|
||||
js/userBlocks.js:506: expanded.push(code >>> 5);
|
||||
js/userBlocks.js:595: const bytes = convertBits(decoded.words, 5, 8, false);
|
||||
js/userBlocks.js:916: const nip07DecryptTimeoutMs = allowPermissionPrompt ? 15000 : 8000;
|
||||
js/userBlocks.js:1265: // Legacy Block: Kind 10000 with d=user-blocks OR Kind 30002
|
||||
js/userBlocks.js:1270: // Standard Mute: Kind 10000 WITHOUT d=user-blocks
|
||||
js/userBlocks.js:1339: // The first scheme to succeed wins, avoiding sequential 3-15s timeouts
|
||||
js/userBlocks.js:1556: // We prioritize standard NIP-51 lists (Kind 10000) to ensure the UI loads quickly.
|
||||
js/userBlocks.js:1564: timeoutMs: 10000,
|
||||
js/subscriptions.js:45: getNostrEventSchema(NOTE_TYPES.SUBSCRIPTION_LIST)?.kind ?? 30000;
|
||||
js/subscriptions.js:339: * Manages the user's subscription list (kind=30000 follow set) *privately*,
|
||||
js/subscriptions.js:391: * Decrypt the subscription list from kind=30000 (d="subscriptions").
|
||||
js/subscriptions.js:912: // scheme × up to 3 schemes = ~18s) = ~30s. Reduced from 45s to prevent
|
||||
js/subscriptions.js:1096: const nip07DecryptTimeoutMs = allowPermissionPrompt ? 12000 : 5000;
|
||||
js/subscriptions.js:1216: // The first scheme to succeed wins, avoiding sequential 3-15s timeouts
|
||||
js/subscriptions.js:1334: * as kind=30000 with ["d", "subscriptions"] to be replaceable.
|
||||
js/subscriptions.js:2288: // Fetch all kind 30000 events for this user to find backups and old versions
|
||||
js/webtorrent.js:179: this.TIMEOUT_DURATION = 60000;
|
||||
js/webtorrent.js:199: { timeoutMs = 8000, maxWebConns = 2, polls = 3, urlList = [] } = {}
|
||||
js/webtorrent.js:236: const safePolls = Math.max(1, Math.floor(normalizeNumber(polls, 3)));
|
||||
js/webtorrent.js:839: if (videoElement.readyState >= 3) {
|
||||
js/webtorrent.js:964: // 3) Add the torrent to the client and handle accordingly.
|
||||
js/webtorrent.min.js:1:var e,t,s={1467:e=>{function t(e,t){if("string"==typeof e[0])return e.join("");if("number"==typeof e[0])return new Uint8Array(e);const s=new Uint8Array(t);let i=0;for(let t=0,n=e.length;t<n;t++){const n=e[t];s.set(n,i),i+=n.byteLength||n.length}return s}e.exports=async function*(e,s=512,i={}){"object"==typeof s&&(s=(i=s).size);let{nopad:n,zeroPadding:r=!0}=i;n&&(r=!1);let o=[],a=0;for await(const i of e)if(a+=i.byteLength||i.length||1,o.push(i),a>=s){const e=t(o,a);let i=0;for(;a>=s;)yield e.slice(i,i+s),a-=s,i+=s;o=[e.slice(i,e.length)]}a&&(yield t(o,r?s:a))}},4497:(e,t,s)=>{const i=s(8454),n=s(9596);e.exports=class{constructor(e,t){if(this.store=e,this.chunkLength=e.chunkLength,this.inProgressGets=new Map,!this.store||!this.store.get||!this.store.put)throw new Error("First argument must be abstract-chunk-store compliant");this.cache=new i(t)}put(e,t,s=()=>{}){if(!this.cache)return n((()=>s(new Error("CacheStore closed"))));this.cache.remove(e),this.store.put(e,t,s)}get(e,t,s=()=>{}){if("function"==typeof t)return this.get(e,null,t);if(!this.cache)return n((()=>s(new Error("CacheStore closed"))));t||(t={});let i=this.cache.get(e);if(i){const e=t.offset||0,r=t.length||i.length-e;return 0===e&&r===i.length||(i=i.slice(e,r+e)),n((()=>s(null,i)))}let r=this.inProgressGets.get(e);const o=!!r;r||(r=[],this.inProgressGets.set(e,r)),r.push({opts:t,cb:s}),o||this.store.get(e,((t,s)=>{t||null==this.cache||this.cache.set(e,s);const i=this.inProgressGets.get(e);this.inProgressGets.delete(e);for(const{opts:e,cb:n}of i)if(t)n(t);else{const t=e.offset||0,i=e.length||s.length-t;let r=s;0===t&&i===s.length||(r=s.slice(t,i+t)),n(null,r)}}))}close(e=()=>{}){if(!this.cache)return n((()=>e(new Error("CacheStore closed"))));this.cache=null,this.store.close(e)}destroy(e=()=>{}){if(!this.cache)return n((()=>e(new Error("CacheStore closed"))));this.cache=null,this.store.destroy(e)}}},4018:e=>{e.exports=function(){for(var e=navigator.hardwareConcurrency||1,t=[],s=0;s<e;s++)t.push({model:"",speed:0,times:{user:0,nice:0,sys:0,idle:0,irq:0}});return t}},7833:(e,t,s)=>{var i=s(717);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const s="color: "+this.color;t.splice(1,0,s,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))})),t.splice(n,0,s)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&void 0!==i&&"env"in i&&(e=i.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=s(736)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},736:(e,t,s)=>{e.exports=function(e){function t(e){let s,n,r,o=null;function a(...e){if(!a.enabled)return;const i=a,n=Number(new Date),r=n-(s||n);i.diff=r,i.prev=s,i.curr=n,s=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((s,n)=>{if("%%"===s)return"%";oLine truncated
|
||||
js/historyView.js:420: d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.78-9.72a.75.75 0 00-1.06-1.06L9 11.94l-1.72-1.72a.75.75 0 10-1.06 1.06l2.25 2.25a.75.75 0 001.06 0l3.25-3.25z",
|
||||
js/historyView.js:427: d: "M10 18a8 8 0 100-16 8 8 0 000 16zm-.75-11.75a.75.75 0 011.5 0v4.5a.75.75 0 01-1.5 0v-4.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z",
|
||||
js/historyView.js:1127: "watch-history-card group relative flex flex-row items-start gap-4 p-3 sm:p-4 rounded-lg transition-colors";
|
||||
js/historyView.js:1196: content.className = "flex flex-col flex-1 min-w-0 gap-1.5";
|
||||
js/historyView.js:1229: "flex-shrink-0 w-5 h-5 rounded-full overflow-hidden bg-surface-alt hover:opacity-80 transition-opacity";
|
||||
js/historyView.js:1274: moderationMount.className = "flex flex-wrap items-center gap-2 mt-0.5";
|
||||
js/feedEngine/kidsScoring.js:19: maxDurationSeconds: 5 * 60,
|
||||
js/feedEngine/kidsScoring.js:187: penalty = Math.min(1, trustedCount / 3) * 0.7;
|
||||
js/feedEngine/kidsScoring.js:209: const divisor = Math.min(3, preferredTags.size);
|
||||
js/feedEngine/kidsScoring.js:287: let durationScore = 0.5;
|
||||
js/feedEngine/kidsScoring.js:304: const divisor = Math.min(3, educationalTagSet.size);
|
||||
js/feedEngine/kidsScoring.js:320: popularityWithinKids = clamp01(Math.log1p(popularityValue) / Math.log1p(popularityValue + 100));
|
||||
js/feedEngine/watchHistoryFeed.js:229: if (parts.length < 3) return address;
|
||||
js/feedEngine/watchHistoryFeed.js:385: if (parts.length < 3) continue;
|
||||
js/feedEngine/exploreScoring.js:7: novelty: 0.3,
|
||||
js/bufferPolyfill.js:1:import { Buffer } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm";
|
||||
js/gridHealthLogic.js:106: if (distanceDelta <= 0.5) {
|
||||
js/state/cache.js:37:const MODERATION_SETTINGS_STORAGE_VERSION = 3;
|
||||
js/adminListStore.js:387: if (!Number.isFinite(kind) || kind !== 30000) {
|
||||
js/adminListStore.js:530: : 30000;
|
||||
js/nostrEventSchemas.js:53:export const KIND_MUTE_LIST = 10000;
|
||||
js/nostrEventSchemas.js:281: schemaVersion: 3,
|
||||
js/nostrEventSchemas.js:516: kind: 30000,
|
||||
js/nostrEventSchemas.js:531: kind: 30000,
|
||||
js/nostrEventSchemas.js:554: "Legacy NIP-51 block list using custom d tag. Migrated to standard Mute List (kind 10000).",
|
||||
js/nostrEventSchemas.js:575: kind: 30000,
|
||||
js/nostrEventSchemas.js:587: kind: 30000,
|
||||
js/nostrEventSchemas.js:599: kind: 30000,
|
||||
js/nostrEventSchemas.js:632: kind: 5,
|
||||
js/nostrEventSchemas.js:1760: kind: schema?.kind ?? 5,
|
||||
js/nostrEventSchemas.js:2224: if (existingAuthorTag.length < 3) {
|
||||
js/nostrEventSchemas.js:2496: if (existingParentAuthorTag.length < 3) {
|
||||
js/nostrEventSchemas.js:2629: kind: schema?.kind ?? 30000,
|
||||
js/nostrEventSchemas.js:2665: kind: schema?.kind ?? 10000,
|
||||
js/nostrEventSchemas.js:2735: kind: 30000,
|
||||
js/nostrEventSchemas.js:2758: kind: schema?.kind ?? 30000,
|
||||
js/ui/loginModalController.js:1676: // view structure: h3, p, div(space-y-3)
|
||||
js/ui/loginModalController.js:1677: const contentContainer = view.querySelector(".space-y-3");
|
||||
js/ui/applicationBootstrap.js:818: parts.length === 3 && parts[0] === "dm"
|
||||
js/ui/subscriptionHistoryController.js:145: "card p-3 cursor-pointer hover:bg-surface-2 transition-colors border-l-4 border-transparent rounded-r-md";
|
||||
js/ui/subscriptionHistoryController.js:254: "flex items-center gap-3 p-2 rounded-md hover:bg-surface-2 border border-transparent hover:border-border/50 transition-colors";
|
||||
js/ui/torrentStatusController.js:69: ? `${(torrent.progress * 100).toFixed(2)}%`
|
||||
js/ui/components/EventDetailsModal.js:43: <svg class="w-5 h-5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||
js/ui/components/EventDetailsModal.js:55: <div class="flex items-start gap-3">
|
||||
js/ui/components/EventDetailsModal.js:65: <code data-author-npub class="text-xs text-muted truncate bg-panel/50 px-1.5 py-0.5 rounded max-w-[200px]"></code>
|
||||
js/ui/components/EventDetailsModal.js:67: <svg class="w-3.5 h-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 4.162A2 2 0 0014.661 4H10a2 2 0 00-2 2z"></path><path d="M16 4v3.5a.5.5 0 00.5.5H20"></path><path d="M4 8v12a2 2 0 002 2h8"></path></svg>
|
||||
js/ui/components/EventDetailsModal.js:75: <div class="bg-panel/50 rounded p-3">
|
||||
js/ui/components/EventDetailsModal.js:80: <svg class="w-3.5 h-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 4.162A2 2 0 0014.661 4H10a2 2 0 00-2 2z"></path><path d="M16 4v3.5a.5.5 0 00.5.5H20"></path><path d="M4 8v12a2 2 0 002 2h8"></path></svg>
|
||||
js/ui/components/EventDetailsModal.js:85: <div class="bg-panel/50 rounded p-3">
|
||||
js/ui/components/EventDetailsModal.js:90: <svg class="w-3.5 h-3.5" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 4v12a2 2 0 002 2h8a2 2 0 002-2V7.242a2 2 0 00-.602-1.43L16.083 4.162A2 2 0 0014.661 4H10a2 2 0 00-2 2z"></path><path d="M16 4v3.5a.5.5 0 00.5.5H20"></path><path d="M4 8v12a2 2 0 002 2h8"></path></svg>
|
||||
js/ui/components/RevertModal.js:430: "px-3",
|
||||
js/ui/components/RevertModal.js:431: "py-3",
|
||||
js/ui/components/RevertModal.js:503: container.className = "flex items-start justify-between gap-3";
|
||||
js/ui/components/RevertModal.js:825: code.className = "rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/RevertModal.js:890: dl.className = "grid gap-3 sm:grid-cols-2 text-xs text-subtle";
|
||||
js/ui/components/RevertModal.js:928: headerContent.className = "flex-1 space-y-3";
|
||||
js/ui/components/RevertModal.js:988: c.className = "rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/RevertModal.js:998: c.className = "break-all rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/RevertModal.js:1009: c.className = "break-all rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/RevertModal.js:1294: code.className = `rounded bg-overlay-panel-soft px-1.5 py-0.5 text-[0.75rem] text-primary ${breakClass}`;
|
||||
js/ui/components/VideoModal.js:3539: ? Math.round((likeCount / totalReactions) * 100)
|
||||
js/ui/components/VideoModal.js:3586: const clamped = Math.max(0, Math.min(100, Math.round(likeRatio)));
|
||||
js/ui/components/VideoModal.js:3814: const clamped = Math.max(0, Math.min(100, nextValue));
|
||||
js/ui/components/VideoModal.js:3815: this.modalProgress.max = 100;
|
||||
js/ui/components/VideoModal.js:3818: const state = clamped >= 100 ? "complete" : "active";
|
||||
js/ui/components/VideoModal.js:4271: li.className = "rounded border border-border p-3 bg-overlay-panel-soft";
|
||||
js/ui/components/VideoModal.js:4358: "rounded border border-border p-3 bg-overlay-panel-soft text-xs text-warning-strong";
|
||||
js/ui/components/VideoModal.js:5337: card.className = "card flex flex-col gap-2 p-3";
|
||||
js/ui/components/VideoModal.js:5341: header.className = "flex items-start gap-3";
|
||||
js/ui/components/EmbedPlayerModal.js:65: this.status.className = "pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-md bg-black/60 px-3 py-1 text-sm backdrop-blur-sm";
|
||||
js/ui/components/ShareNostrModal.js:288: "inline-flex items-center gap-2 rounded-full border border-border/70 bg-surface-alt px-3 py-1 text-xs text-text";
|
||||
js/ui/components/ShareNostrModal.js:298: "btn-ghost text-muted hover:text-text px-1 py-0.5 rounded-full";
|
||||
js/ui/components/ShareNostrModal.js:303: '<svg class="h-3 w-3" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M18 6L6 18M6 6l12 12" stroke-linecap="round" stroke-linejoin="round"/></svg>';
|
||||
js/ui/components/VideoCard.js:503: classNames: ["mt-3", "text-xs", "text-status-warning-on"],
|
||||
js/ui/components/VideoCard.js:889: isCompact ? "space-x-2" : "space-x-3",
|
||||
js/ui/components/VideoCard.js:1025: addCircle(5);
|
||||
js/ui/components/VideoCard.js:1047: "M24,13.616L24,10.384C22.349,9.797 21.306,9.632 20.781,8.365L20.781,8.364C20.254,7.093 20.881,6.23 21.628,4.657L19.343,2.372C17.782,3.114 16.91,3.747 15.636,3.219L15.635,3.219C14.366,2.693 14.2,1.643 13.616,0L10.384,0C9.802,1.635 9.635,2.692 8.365,3.219L8.364,3.219C7.093,3.747 6.232,3.121 4.657,2.372L2.372,4.657C3.117,6.225 3.747,7.091 3.219,8.364C2.692,9.635 1.635,9.802 0,10.384L0,13.616C1.632,14.196 2.692,14.365 3.219,15.635C3.749,16.917 3.105,17.801 2.372,19.342L4.657,21.628C6.219,20.885 7.091,20.253 8.364,20.781L8.365,20.781C9.635,21.307 9.801,22.36 10.384,24L13.616,24C14.198,22.364 14.366,21.31 15.643,20.778L15.644,20.778C16.906,20.254 17.764,20.879 19.342,21.629L21.627,19.343C20.883,17.78 20.252,16.91 20.779,15.637C21.306,14.366 22.367,14.197 24,13.616ZM12,16C9.791,16 8,14.209 8,12C8,9.791 9.791,8 12,8C14.209,8 16,9.791 16,12C16,14.209 14.209,16 12,16Z"
|
||||
js/ui/components/VideoCard.js:1083: const icon = this.createSettingsIcon(["icon-image", "w-5", "h-5"]);
|
||||
js/ui/components/VideoCard.js:1108: const icon = this.createEllipsisIcon(["icon-image", "w-5", "h-5"]);
|
||||
js/ui/components/VideoCard.js:1411: d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.78-9.72a.75.75 0 00-1.06-1.06L9 11.94l-1.72-1.72a.75.75 0 10-1.06 1.06l2.25 2.25a.75.75 0 001.06 0l3.25-3.25z",
|
||||
js/ui/components/VideoCard.js:1418: d: "M10 18a8 8 0 100-16 8 8 0 000 16zm-.75-11.75a.75.75 0 011.5 0v4.5a.75.75 0 01-1.5 0v-4.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z",
|
||||
js/ui/components/VideoCard.js:2426: circle.setAttribute("r", "3");
|
||||
js/ui/components/VideoCard.js:2452: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"
|
||||
js/ui/components/VideoCard.js:2480: "mt-3",
|
||||
js/ui/components/VideoCard.js:2488: classNames: ["flex", "items-center", "gap-1.5"],
|
||||
js/ui/components/VideoCard.js:2522: classNames: ["flex", "items-center", "gap-1.5"],
|
||||
js/ui/components/revertModalRenderers.js:9: ol.className = "space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:15: li.className = "rounded-md border border-overlay bg-overlay-muted p-3 space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:40: dl.className = "grid gap-3 sm:grid-cols-2 text-xs text-subtle";
|
||||
js/ui/components/revertModalRenderers.js:63: c.className = "rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/revertModalRenderers.js:74: c.className = "rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/revertModalRenderers.js:91: c.className = "break-all rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/revertModalRenderers.js:102: nestedGrid.className = "grid gap-3 sm:grid-cols-3 text-xs text-subtle";
|
||||
js/ui/components/revertModalRenderers.js:156: ol.className = "space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:160: li.className = "rounded-md border border-overlay bg-overlay-muted p-3 space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:181: dl.className = "grid gap-3 sm:grid-cols-2 text-xs text-subtle";
|
||||
js/ui/components/revertModalRenderers.js:207: c.className = "rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/revertModalRenderers.js:241: ol.className = "space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:273: li.className = "rounded-md border border-overlay bg-overlay-muted p-3 space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:281: dl.className = "grid gap-3 sm:grid-cols-2 text-xs text-subtle";
|
||||
js/ui/components/revertModalRenderers.js:355: ol.className = "space-y-3";
|
||||
js/ui/components/revertModalRenderers.js:359: li.className = "rounded-md border border-overlay bg-overlay-muted p-3 space-y-2";
|
||||
js/ui/components/revertModalRenderers.js:367: dl.className = "grid gap-3 sm:grid-cols-2 text-xs text-subtle";
|
||||
js/ui/components/revertModalRenderers.js:394: c.className = "break-all rounded bg-overlay-panel-soft px-1.5 py-0.5 text-primary";
|
||||
js/ui/components/tagPillList.js:88: "M8.75 3.5a.75.75 0 0 0-1.5 0v3.75H3.5a.75.75 0 1 0 0 1.5h3.75V12.5a.75.75 0 0 0 1.5 0V8.75H12.5a.75.75 0 0 0 0-1.5H8.75z",
|
||||
js/ui/components/SimilarContentCard.js:186: const pointer = Array.isArray(info.pointer) ? info.pointer.slice(0, 3) : null;
|
||||
js/ui/components/SimilarContentCard.js:690: path.setAttribute("d", "M10 18a8 8 0 100-16 8 8 0 000 16zm3.78-9.72a.75.75 0 00-1.06-1.06L9 11.94l-1.72-1.72a.75.75 0 10-1.06 1.06l2.25 2.25a.75.75 0 001.06 0l3.25-3.25z");
|
||||
js/ui/components/SimilarContentCard.js:692: path.setAttribute("d", "M10 18a8 8 0 100-16 8 8 0 000 16zm-.75-11.75a.75.75 0 011.5 0v4.5a.75.75 0 01-1.5 0v-4.5zm.75 8.5a1 1 0 100-2 1 1 0 000 2z");
|
||||
js/ui/components/SimilarContentCard.js:1077: circle.setAttribute("r", "3");
|
||||
js/ui/components/SimilarContentCard.js:1103: "M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8v.5z"
|
||||
js/ui/components/SimilarContentCard.js:1129: "mt-1.5",
|
||||
js/ui/components/SimilarContentCard.js:1137: wrapper.classList.add("flex", "items-center", "gap-1.5");
|
||||
js/ui/components/SimilarContentCard.js:1140: const icon = this.createEyeIcon(["w-3.5", "h-3.5"]);
|
||||
js/ui/components/SimilarContentCard.js:1169: wrapper.classList.add("flex", "items-center", "gap-1.5");
|
||||
js/ui/components/SimilarContentCard.js:1174: const icon = this.createMessageIcon(["w-3.5", "h-3.5"]);
|
||||
js/ui/components/UploadModal.js:543: // 3. Determine Keys
|
||||
js/ui/components/UploadModal.js:560: // 3. Start Video Upload
|
||||
js/ui/components/UploadModal.js:621: // 5. Handle Torrent Result & Upload .torrent file
|
||||
js/ui/components/UploadModal.js:815: const pct = Math.round(fraction * 100);
|
||||
js/ui/components/UploadModal.js:825: const pct = Math.round(fraction * 100);
|
||||
js/ui/notificationController.js:92: // Optional auto-hide after 5 seconds
|
||||
js/ui/similarContentController.js:56: computeCandidates({ activeVideo, maxItems = 5 } = {}) {
|
||||
js/ui/similarContentController.js:119: : 5;
|
||||
js/ui/zapController.js:983: const overrideFee = share.type === "platform" ? 100 : 0;
|
||||
js/ui/moreMenuController.js:237: <label class="flex cursor-pointer items-center gap-3 rounded-lg border border-border/60 bg-panel/80 p-3 text-sm" for="${inputId}">
|
||||
js/ui/moreMenuController.js:268: <div class="flex justify-end gap-3">
|
||||
js/ui/profileModal/ProfileDirectMessageRenderer.js:328: item.className = "card flex flex-col gap-2 p-3";
|
||||
js/ui/profileModal/ProfileDirectMessageRenderer.js:339: attachmentCard.className = "flex flex-col gap-2 rounded-lg border border-border/60 p-3";
|
||||
js/ui/profileModal/ProfileDirectMessageRenderer.js:439: item.className = "card flex flex-col gap-3 p-4";
|
||||
js/ui/profileModal/ProfileDirectMessageRenderer.js:444: header.className = "flex items-start justify-between gap-3";
|
||||
js/ui/profileModal/ProfileDirectMessageActions.js:861: item.className = "card flex items-center justify-between gap-3 p-3";
|
||||
js/ui/profileModal/ProfileRelayController.js:100: health.className = "flex flex-wrap items-center gap-x-3 gap-y-1 mt-1 text-2xs text-muted empty:hidden";
|
||||
js/ui/profileModal/ProfileRelayController.js:174: span.className = "inline-flex items-center gap-1 bg-surface-strong/30 px-1.5 py-0.5 rounded";
|
||||
js/ui/profileModal/ProfileAdminRenderer.js:165: "card flex flex-col gap-3 p-4 sm:flex-row sm:items-center sm:justify-between";
|
||||
js/ui/profileModal/ProfileModerationController.js:537: meta.className = "flex flex-wrap items-center gap-3 text-2xs text-muted";
|
||||
js/ui/dm/Composer.js:119: zapBtn.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg>`;
|
||||
js/ui/dm/DMSettingsModalController.js:162: li.className = "flex items-center justify-between gap-3 p-3 bg-surface-2 rounded-md border border-border/50";
|
||||
js/ui/dm/DMRelaySettings.js:8: root.className = "dm-relay-settings card space-y-4 p-5";
|
||||
js/ui/dm/DMRelaySettings.js:26: addRow.className = "flex flex-col gap-3 sm:flex-row sm:items-end";
|
||||
js/ui/dm/ConversationList.js:43: refreshBtn.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 12a9 9 0 0 0-9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path><path d="M3 12a9 9 0 0 0 9 9 9.75 9.75 0 0 0 6.74-2.74L21 16"></path><path d="M16 21h5v-5"></path></svg>`;
|
||||
js/ui/dm/AppShell.js:63: id: "msg-3",
|
||||
js/ui/dm/AppShell.js:102: id: "zap-3",
|
||||
js/ui/dm/AppShell.js:178: settingsBtn.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="0" stroke-linecap="round" stroke-linejoin="round" class="icon-image w-5 h-5"><path d="M24,13.616L24,10.384C22.349,9.797 21.306,9.632 20.781,8.365L20.781,8.364C20.254,7.093 20.881,6.23 21.628,4.657L19.343,2.372C17.782,3.114 16.91,3.747 15.636,3.219L15.635,3.219C14.366,2.693 14.2,1.643 13.616,0L10.384,0C9.802,1.635 9.635,2.692 8.365,3.219L8.364,3.219C7.093,3.747 6.232,3.121 4.657,2.372L2.372,4.657C3.117,6.225 3.747,7.091 3.219,8.364C2.692,9.635 1.635,9.802 0,10.384L0,13.616C1.632,14.196 2.692,14.365 3.219,15.635C3.749,16.917 3.105,17.801 2.372,19.342L4.657,21.628C6.219,20.885 7.091,20.253 8.364,20.781L8.365,20.781C9.635,21.307 9.801,22.36 10.384,24L13.616,24C14.198,22.364 14.366,21.31 15.643,20.778L15.644,20.778C16.906,20.254 17.764,20.879 19.342,21.629L21.627,19.343C20.883,17.78 20.252,16.91 20.779,15.637C21.306,14.366 22.367,14.197 24,13.616ZM12,16C9.791,16 8,14.209 8,12C8,9.791 9.791,8 12,8C14.209,8 16,9.791 16,12C16,14.209 14.209,16 12,16Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg>`;
|
||||
js/ui/videoModalController.js:183: { autoHideMs: 5000 },
|
||||
js/ui/profileModalController.js:1306: item.className = "card flex flex-col gap-2 p-3";
|
||||
js/ui/profileModalController.js:2613: "flex flex-wrap items-center justify-between gap-3";
|
||||
js/ui/profileModalController.js:3419: status.className = "mt-4 flex items-center gap-3 text-sm text-muted hidden";
|
||||
js/ui/urlHealthController.js:19: this.MAX_CONCURRENT_VIDEO_PROBES = 3;
|
||||
js/ui/urlHealthController.js:80: badgeEl.classList.contains("mt-sm") || badgeEl.classList.contains("mt-3");
|
||||
js/searchView.js:81: // If we have more than 5 results (the smallest limit), we might need to show the button
|
||||
js/searchView.js:82: // depending on screen size, but for simplicity we just enable it if > 5.
|
||||
js/searchView.js:83: if (profiles.length > 5) {
|
||||
js/searchView.js:119: card.className = "flex items-center gap-3 p-3 rounded-lg bg-surface hover:bg-surface-elevated transition-colors border border-border group";
|
||||
js/storage/r2-mgmt.js:43: while (value.length < 3) {
|
||||
js/storage/r2-mgmt.js:82: while (candidate.length < 3) {
|
||||
js/storage/r2-mgmt.js:235:// 3) Attach custom domain to bucket (auto-provisions on Cloudflare)
|
||||
js/storage/s3-client.js:3:const AWS_SDK_SPECIFIER = "https://esm.sh/@aws-sdk/[email protected]?bundle";
|
||||
js/storage/s3-multipart.js:214: const MIN_PART = 5 * 1024 * 1024;
|
||||
js/storage/s3-multipart.js:215: const maxParts = 10000;
|
||||
js/storage/r2-s3.js:86: // 3. Public URL check
|
||||
js/app/modalCoordinator.js:246: // 3) Kick off heavy cleanup work asynchronously. We still await it so
|
||||
js/app/feedCoordinator.js:569: video.kind >= 30000 &&
|
||||
js/app/feedCoordinator.js:871: // 3. Run Engine
|
||||
js/app/authSessionCoordinator.js:292: // evaluation added 5-10s to the login path by repeating the same
|
||||
js/app/authSessionCoordinator.js:353: // with "permission-required" and schedule 3-second retry delays, adding
|
||||
js/constants.js:15:export const FIVE_MINUTES_MS = 5 * ONE_MINUTE_MS;
|
||||
js/constants.js:22:export const SHORT_TIMEOUT_MS = 5000;
|
||||
js/constants.js:23:export const STANDARD_TIMEOUT_MS = 10000;
|
||||
js/constants.js:24:export const MEDIUM_TIMEOUT_MS = 30000;
|
||||
js/constants.js:25:export const LONG_TIMEOUT_MS = 60000;
|
||||
js/constants.js:157: 3,
|
||||
js/services/videoNotePayload.js:368: version: 3,
|
||||
js/services/r2Service.js:12: * 3. The final Magnet URI embeds the R2 URL as a "WebSeed" (`ws=`) and the
|
||||
js/services/r2Service.js:479: * 3. Syncs the bucket configuration with the local settings store, ensuring
|
||||
js/services/r2Service.js:646: // 3. Ensure CORS (best effort)
|
||||
js/services/r2Service.js:783: * 3. **Multipart Uploads**: Uploads the Thumbnail, Video File, and Torrent Metadata
|
||||
js/services/r2Service.js:790: * 5. **Publishing**: Constructs and signs the Nostr video event (Kind 30078).
|
||||
js/services/playbackService.js:224: MEDIA_ERR_DECODE: 3,
|
||||
js/services/playbackService.js:555: * 3. Monitoring for stalls.
|
||||
js/services/playbackService.js:748: * 3. If URL fails or not available, call `startTorrentFallback`.
|
||||
js/services/moderationService.js:154: const direct = normalizeMuteCategory(tag[3]);
|
||||
js/services/moderationService.js:238: chk = ((chk & 0x1ffffff) << 5) ^ value;
|
||||
js/services/moderationService.js:253: expanded.push(code >>> 5);
|
||||
js/services/moderationService.js:342: const bytes = convertBits(decoded.words, 5, 8, false);
|
||||
js/services/moderationService.js:533: * - **Viewer Context**: Tracks the currently logged-in user and their Kind 3 Contact List.
|
||||
js/services/moderationService.js:1750: * This reloads the trusted contact list (Kind 3) for the new user,
|
||||
js/services/moderationService.js:1841: const filter = { kinds: [3], authors: [normalized], limit: 1 };
|
||||
js/services/moderationService.js:1938: const filter = { kinds: [3], authors: [normalized], limit: 1 };
|
||||
js/services/moderationService.js:2142: * 3. If trusted, increment the count for that report type (e.g., "nudity").
|
||||
js/services/dmNostrService.js:14: maxMs: 30000,
|
||||
js/services/dmNostrService.js:15: jitterRatio: 0.3,
|
||||
js/services/dmNostrService.js:18:const MAX_SEEN_EVENT_IDS = 5000;
|
||||
js/services/dmNostrService.js:174: baseMs: clampNumber(custom.baseMs ?? DEFAULT_BACKOFF.baseMs, 250, 60000),
|
||||
js/services/commentThreadService.js:12:const PROFILE_FETCH_MAX_ATTEMPTS = 3;
|
||||
js/services/commentThreadService.js:374: fetchOptions.limit = Math.max(this.defaultLimit, 100);
|
||||
js/services/authUtils.js:12:export const FAST_PROFILE_RELAY_LIMIT = 3;
|
||||
js/services/nostrService.js:30:const MAX_PERSISTED_VIDEOS = 100;
|
||||
js/services/nostrService.js:1601: ? Math.max(limit * 2, limit + 5)
|
||||
js/services/hashtagPreferencesService.js:1199: // The first scheme to succeed wins, avoiding sequential 3-15s timeouts
|
||||
js/services/watchHistoryTelemetry.js:8:const DEFAULT_VIEW_THRESHOLD_SECONDS = 5;
|
||||
js/services/storageService.js:276: * 3. Store the result along with the method used.
|
||||
js/services/relayHealthService.js:5:const PERSISTENT_FAILURE_THRESHOLD = 3;
|
||||
Reference in new issue
Block a user